Skip to content
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

Fix to snapshot checkpoint with object log, where snapshot objects en… #218

Merged
merged 3 commits into from
Dec 4, 2019

Conversation

badrishc
Copy link
Contributor

@badrishc badrishc commented Dec 4, 2019

…d up overwriting each other.

Fix #216

@badrishc badrishc merged commit 47d50d1 into master Dec 4, 2019
@@ -1366,6 +1368,7 @@ public void AsyncFlushPages(long fromAddress, long untilAddress)
public void AsyncFlushPagesToDevice(long startPage, long endPage, long endLogicalAddress, IDevice device, IDevice objectLogDevice, out CountdownEvent completed)
{
int totalNumPages = (int)(endPage - startPage);
var localSegmentOffsets = new long[SegmentBufferSize];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if we could prevent allocation for non-GenericAllocator case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, good point, yes, that's doable with some refactoring

@badrishc badrishc deleted the snapshot-ckpt-objlog-bugfix branch September 7, 2020 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[C#] Variable Length Classes Cant Be Recovered After Process Restart
2 participants