mirror of
https://github.com/talent-plan/tinykv.git
synced 2025-01-13 22:00:07 +08:00
Fix region error (#139)
* fix key not found and close iter Signed-off-by: Connor1996 <zbk602423539@gmail.com> * fix region error Signed-off-by: Connor1996 <zbk602423539@gmail.com> Co-authored-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
parent
2fdc5773bd
commit
84e464263b
@ -63,7 +63,7 @@ func WriteKindFromProto(op kvrpcpb.Op) WriteKind {
|
||||
return WriteKindDelete
|
||||
case kvrpcpb.Op_Rollback:
|
||||
return WriteKindRollback
|
||||
default:
|
||||
panic("unsupported type")
|
||||
}
|
||||
|
||||
return -1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user