cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

storage: the message for range split conflicts should be improved

Open knz opened this issue 10 years ago • 2 comments

Reported by @yznming on Gitter:

E160325 20:14:13.922965 storage/queue.go:444  [split] range=23 [/Table/51/1/2360159016-/Table/51/1/2725786584): error: storage/replica_command.go:1664: split at key /Table/51/1/2725788664 failed: unexpected value: raw_bytes:"(\016J\035\003\010\027\022\007\273\211\371\214\255+(\032\007\273\211\371\242x3\330\"\006\010\001\020\001\030\001\"\006\010\004\020\004\030\002\"\006\010\007\020\007\030\003(\004" timestamp:<wall_time:1458908049375339590 logical:1 >

As suggested below by Tobias this message indicates a conflict during a range split. However the text of the message does not convey this information clearly. The message should be improved.

knz avatar Mar 28 '16 09:03 knz

here is the full log log.tar.gz

yznming avatar Mar 28 '16 10:03 yznming

This message occurs when two splits race and ours loses. We should improve the error message in this case.

On Mon, Mar 28, 2016, 06:07 yznming [email protected] wrote:

here is the full log log.tar.gz https://github.com/cockroachdb/cockroach/files/191629/log.tar.gz

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/cockroachdb/cockroach/issues/5629#issuecomment-202331789

tbg avatar Mar 28 '16 10:03 tbg