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

Maintain all pending index entries. #319

Merged
merged 5 commits into from
Jan 22, 2024
Merged

Conversation

joaander
Copy link
Member

Description

Fix a bug that lost index entries in some very specific corner cases.

Motivation and Context

Whenever gsd_flush is called after write_chunk but before end_frame, it kept one of the pending entries and repeated it N times instead of keeping all N pending entries.

How Has This Been Tested?

The added unit test checks that the bug is fixed.

Checklist:

  • I have reviewed the Contributor Guidelines.
  • I agree with the terms of the GSD Contributor Agreement.
  • My name is on the list of contributors (doc/credits.rst) in the pull request source branch.
  • I have added a change log entry to CHANGELOG.rst.

@joaander joaander requested review from a team, tcmoore3, tommy-waltmann and syjlee and removed request for a team January 19, 2024 19:32
Base automatically changed from ruff to trunk-patch January 22, 2024 13:41
@joaander joaander merged commit 8eaec02 into trunk-patch Jan 22, 2024
39 checks passed
@joaander joaander deleted the fix-pending-index-entries branch January 22, 2024 15:33
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.

4 participants