tm state: don't populate metadata in updateLocked #8362
tm state: don't populate metadata in updateLocked #8362deepthi merged 1 commit intovitessio:mainfrom
Conversation
…d during reparents and hangs when semi-sync is enabled Signed-off-by: deepthi <deepthi@planetscale.com>
|
@ajm188 it's possible that the right fix is as simple as changing these conditions: During PRS isOpening is false and the code gets executed even when initPopulateMetadata is false. I believe the check really needs to be |
On second thought, populateMetadata should NEVER be called in a code path that runs during a reparent. |
|
I am thinking we should add a flag to the section of |
|
I'm merging this for now to fix the regression. It will need to be fixed properly later (with appropriate tests). |
Description
This is a partial revert of #8107. Calling
populateMetadatainupdateLockedcausespublishStateto fail when semi-sync is enabled.Related Issue(s)
Fixes #8505
Checklist
Deployment Notes