-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[ENH] Implement log forking #4326
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
Conversation
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
9840862
to
5c80da6
Compare
a41a043
to
a6aadbd
Compare
5c80da6
to
d47ad9a
Compare
a6aadbd
to
ffdcc6c
Compare
d47ad9a
to
67eba39
Compare
ffdcc6c
to
c9b045b
Compare
b9599fd
to
c17ac56
Compare
} | ||
}() | ||
|
||
sourceBounds, err := queriesWithTx.GetBoundsForCollection(ctx, sourceCollectionID) |
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.
handle the case when no row exists in collection
table. This can happen right after you create a collection before adding any data
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.
Should be handled by the query
SELECT | ||
COALESCE(record_compaction_offset_position, 0) AS record_compaction_offset_position, | ||
COALESCE(record_enumeration_offset_position, 0) AS record_enumeration_offset_position | ||
SELECT record_compaction_offset_position, record_enumeration_offset_position |
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.
why this change?
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.
This change should not be there. Will revert
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.
Seems like a change introduced from main
1b64a55
to
b9a2835
Compare
c17ac56
to
3a995a4
Compare
b9a2835
to
71ce8e3
Compare
3a995a4
to
42437c0
Compare
42437c0
to
0b3979c
Compare
Description of changes
Summarize the changes made by this PR.
Test plan
How are these changes tested?
pytest
for python,yarn test
for js,cargo test
for rustDocumentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?