Skip to content

Conversation

deniskuzZ
Copy link
Member

@deniskuzZ deniskuzZ commented Oct 7, 2025

What changes were proposed in this pull request?

Use thread-local HiveConf objects

Why are the changes needed?

  • fixes race condition
  • adds caching for openTxns and validWriteIds

Does this PR introduce any user-facing change?

No

How was this patch tested?

locally with multiple threads

// increase the size of the configuration or the number of failed compactions.
Assert.assertTrue("Allocated memory, " + diffMem + "bytes , exceeds acceptable variance of 250MB.",
diffMem < 250_000_000);
diffMem < 450_000_000);
Copy link
Member Author

Choose a reason for hiding this comment

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

increase because of thread-local use in a cleaner task thread

Copy link

sonarqubecloud bot commented Oct 9, 2025

Copy link
Contributor

@SourabhBadhya SourabhBadhya left a comment

Choose a reason for hiding this comment

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

LGTM +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants