StallConditionType2String transfer rocksdb::WriteStallCondition may be error #2633
Closed
1 of 2 tasks
Labels
bug
type bug
Search before asking
Version
kvrocks version 2.10.0
Minimal reproduce step
In rocksdb, WriteStallCondition is declared below
see https://github.com/facebook/rocksdb/blob/main/include/rocksdb/types.h
but in kvrocks /src/storage/event_listener.cc, function define
if we pass type as WriteStallCondition::kNormal, then function StallConditionType2String returned 'stop';
totally reversed.
the EventListener::OnStallConditionsChanged will record a confused warning message.
What did you expect to see?
WriteStallCondition::kNormal should be transfer to normal,
kDelayed should delay,
kStopped should be stop
What did you see instead?
write stall condition was changed, from normal to stop
Anything Else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: