-
Notifications
You must be signed in to change notification settings - Fork 9
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
1490 Write new collection restore from file in place #1491
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1491 +/- ##
===========================================
+ Coverage 82.76% 82.84% +0.08%
===========================================
Files 780 780
Lines 29219 29377 +158
===========================================
+ Hits 24183 24338 +155
- Misses 5036 5039 +3
|
@@ -223,7 +223,67 @@ TEST_F(TestCheckpoint, test_checkpoint_1) { | |||
// Ensure that all elements were properly destroyed | |||
EXPECT_EQ(counter, 0); | |||
} | |||
} | |||
|
|||
TEST_F(TestCheckpoint, test_checkpoint_in_place_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.
It doesn't look like this test exercises the migration feature. Can you add another test?
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.
Sure
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.
Thanks for exercising migration. Does a test with the following sequence of events work? It's a critical application use case.
- Load balance
- Checkpoint
- Re-create the collection elements at home (or migrate them back home)
- Restore from the checkpoint
Like the description of this pr, some of the commit messages say "restoreToFile" instead of From. The code is right, though. Besides the comments I made, this looks good |
24e891f
to
6afc35e
Compare
6afc35e
to
9f45a9e
Compare
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.
Looks good
@lifflander the auto merge of checkpoint and the rest happens tomorrow so if this is ready can we merge away? |
This is still failing tests. I'm working on it more to figure out what went wrong. |
Fixes #1490