Skip to content

Add assert and restore reference count when releasing Chunks (#14391) - #14394

Merged
normanmaurer merged 1 commit into
4.1from
chunk_ref
Oct 5, 2024
Merged

normanmaurer merged 1 commit into
4.1from
chunk_ref

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

Let's restore the original reference count if we fail to queue the Chunk for reuse.

Modifications:

  • Restore reference count and so make code more robust
  • Add assert to ensure there is no race

Result:

Cleanup code

Motivation:

Let's restore the original reference count if we fail to queue the Chunk
for reuse.

Modifications:

- Restore reference count and so make code more robust
- Add assert to ensure there is no race

Result:

Cleanup code
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.

1 participant