Skip to content

[Backport] Allow different timechunk lock types to coexist in a task group (#16369)#16373

Merged
kfaraz merged 1 commit intoapache:30.0.0from
AmatyaAvadhanula:backport-16369
May 2, 2024
Merged

[Backport] Allow different timechunk lock types to coexist in a task group (#16369)#16373
kfaraz merged 1 commit intoapache:30.0.0from
AmatyaAvadhanula:backport-16369

Conversation

@AmatyaAvadhanula
Copy link
Copy Markdown
Contributor

Backports #16369 to 30.0.0

…he#16369)

Description:
All the streaming ingestion tasks for a given datasource share the same lock for a given interval.
Changing lock types in the supervisor can lead to segment allocation errors due to lock conflicts
for the new tasks while the older tasks are still running.

Fix:
Allow locks of different types (EXCLUSIVE, SHARED, APPEND, REPLACE) to co-exist if they have
the same interval and the same task group.
@kfaraz kfaraz merged commit 108709a into apache:30.0.0 May 2, 2024
@kfaraz kfaraz deleted the backport-16369 branch May 2, 2024 17:53
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