-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[controller] Fix hybrid store migration failure during ongoing batch …
…push jobs (#1360) This PR fixes an issue where hybrid store migration fails if a batch push job is ongoing and a non-truncated version topic exists in the parent region. The problem stemmed from a safeguard intended to prevent hybrid-to-batch conversion during ongoing push jobs (added to address targeted region push issues). The safeguard failed to account for store migration scenarios where hybrid configurations are added during the updateStore operation. This misclassification of the migration attempt as a batch-to-hybrid store conversion caused unintended operations, including a call to VPHA::getTopicForCurrentPushJob. This method attempts to issue a killOfflinePushJob when the version config is missing in the store’s configuration. The kill job, in turn, tries to update the version status to KILLED, which does not exist, which leads to a version not found exception from AbstractStore::updateVersionStatus.
- Loading branch information
1 parent
3a99bd9
commit f653cdd
Showing
2 changed files
with
107 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters