[2021/01/29 17:00:47.510 +08:00] [INFO] [2pc.go:807] [“prewrite encounters lock”] [lock=“key: []byte{0x62, 0x65, 0x66, 0x33, 0x33, 0x36, 0x66, 0x66, 0x2d, 0x65, 0x36, 0x38, 0x38, 0x2d, 0x66, 0x37, 0x35, 0x37, 0x2d, 0x36, 0x38, 0x35, 0x34, 0x2d, 0x31, 0x30, 0x61, 0x39, 0x61, 0x66, 0x65, 0x35, 0x37, 0x32, 0x35, 0x61}, primary: []byte{0x36, 0x64, 0x38, 0x31, 0x61, 0x35, 0x33, 0x30, 0x2d, 0x32, 0x35, 0x38, 0x63, 0x2d, 0x31, 0x35, 0x34, 0x65, 0x2d, 0x34, 0x38, 0x63, 0x30, 0x2d, 0x32, 0x31, 0x34, 0x61, 0x31, 0x63, 0x37, 0x37, 0x66, 0x62, 0x36, 0x31, 0x32}, txnStartTS: 422552757195243886, lockForUpdateTS:0, ttl: 3004, type: Put”]
如果不停的对一个key进行插入操作,就会有这个日志打印,但是看代码prewrite是同步的,为什么会出现这种现象呢?