-
Notifications
You must be signed in to change notification settings - Fork 191
[Storage] Command line for badger -> pebble data migration #7413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Storage] Command line for badger -> pebble data migration #7413
Conversation
1342cf5
to
d865f41
Compare
c73b216
to
4d43afe
Compare
…igration-cmd-test
BatchByteSize: 32_000_000, // 32 MB | ||
ReaderWorkerCount: 2, | ||
WriterWorkerCount: 2, | ||
ReaderShardPrefixBytes: 2, // better to keep it as 2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
benchmark shows prefixBytes: 2
took 1h11m, prefixBytes: 1
took 1h40m.
ReaderWorkerCount: 2, | ||
WriterWorkerCount: 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The worker count doesn't seem to make a big difference, 4
is the same as 2
for both reader and writer.
dd206d9
to
bfd2615
Compare
Work towards #7395
This PR adds command wrapper to call the migration function (
CopyFromBadgerToPebble
) implemented in this PR