Skip to content

raft: Fix missing trailing "/" in DB's prefixes

Recently, all Raft-related keys have been missing trailing "/" in their prefixes. As a result, they look like follows:

Screenshot_2024-08-06_at_13.59.39

This missing does not affect the activities of Raft's package because the namespacing is an application logical concept. The underlying badger KV DB doesn't care.

That said, it makes sense to fix this namespacing issue to make it easier to debug later.

Afterward, the keys look like follows:

Screenshot_2024-08-06_at_14.01.28

Merge request reports

Loading