We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e960784 + c41ce22 commit 6a6c7acCopy full SHA for 6a6c7ac
otsserver/backup.py
@@ -92,7 +92,7 @@ def __create_kv_map(ts, msg, kv_map):
92
@staticmethod
93
def __kv_map_to_bytes(kv_map):
94
ctx = BytesSerializationContext()
95
- for key, value in kv_map.items():
+ for key, value in sorted(kv_map.items()):
96
ctx.write_varuint(len(key))
97
ctx.write_bytes(key)
98
ctx.write_varuint(len(value))
0 commit comments