You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem when restoring dumps that have more than 10 chunks. This happens because of the way Replibyte is generating the chunk names.
So here it's what happening when we have over 10 chunks:
Output chunks order when ordering by key:
1.dump
10.dump
11.dump
2.dump
3.dump
...
So 10.dump and 11.dump gets restored before 2.dump and 3.dump because Replibyte it's not adding a trailing zero. For example: 02.dump < 10.dump but 10.dump < 2.dump.
This is preventing dumps from being restored.
I can provide a fix. Was thinking that something like that would solve the issue (Formatting the file name with always two digits) for S3 and local_disk:
let dump_file_path = format!("{}/{:02}.dump", dump_dir_path, file_part);
The text was updated successfully, but these errors were encountered:
There is a problem when restoring dumps that have more than 10 chunks. This happens because of the way Replibyte is generating the chunk names.
So here it's what happening when we have over 10 chunks:
So
10.dump
and11.dump
gets restored before2.dump
and3.dump
because Replibyte it's not adding a trailing zero. For example:02.dump
<10.dump
but10.dump
<2.dump
.This is preventing dumps from being restored.
I can provide a fix. Was thinking that something like that would solve the issue (Formatting the file name with always two digits) for S3 and local_disk:
The text was updated successfully, but these errors were encountered: