Skip to content

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

Merged
normanmaurer merged 1 commit into4.1from
chunk_ref
Oct 5, 2024
Merged

Add assert and restore reference count when releasing Chunks (#14391)#14394
normanmaurer merged 1 commit into4.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
@normanmaurer normanmaurer merged commit 28577f3 into 4.1 Oct 5, 2024
@normanmaurer normanmaurer deleted the chunk_ref branch October 5, 2024 09:06
@normanmaurer normanmaurer added this to the 4.1.115.Final milestone Oct 5, 2024
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