Skip to content

Conversation

@keith-turner
Copy link
Contributor

After the changes in #5104 bulk import would read a tablets files, examine the files, and then require the set of files to be the same to update the tablet. The code only cared that the count of files was below a specified limit. Requiring the set of files not to change was causing the conditional mutation to fail on a busy tablet. This change modifies the condition to check the count of file which avoids contention on a busy tablet where the set of files is constantly changing.

After the changes in apache#5104 bulk import would read a tablets files,
examine the files, and then require the set of files to be the same to
update the tablet.  The code only cared that the count of files was
below a specified limit. Requiring the set of files not to change was
causing the conditional mutation to fail on a busy tablet.  This change
modifies the condition to check the count of file which avoids
contention on a busy tablet where the set of files is constantly
changing.
@keith-turner keith-turner added this to the 4.0.0 milestone Dec 9, 2024
@keith-turner keith-turner changed the title avoid checking all tablet file in bulk import conditional mutation avoid checking all tablet files in bulk import conditional mutation Dec 10, 2024
@keith-turner keith-turner merged commit 08f77aa into apache:main Dec 12, 2024
8 checks passed
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.

2 participants