Skip to content

Revert "Skip persistence component registration option (#9961)"#10554

Open
awln-temporal wants to merge 1 commit into
mainfrom
revert-skip-persistence
Open

Revert "Skip persistence component registration option (#9961)"#10554
awln-temporal wants to merge 1 commit into
mainfrom
revert-skip-persistence

Conversation

@awln-temporal
Copy link
Copy Markdown
Contributor

Reverts #9961.

The skip-if-clean optimization in closeTransactionSerializeNodes introduced a bug where a parent component with unchanged Data bytes (e.g. *emptypb.Empty) would have its LastUpdateVersionedTransition suppressed. This left the component absent from UpdatedChasmNodes, so the standby's cached Go map (e.g. w.Callbacks) was never invalidated — causing syncSubComponents to tombstone newly-replicated CHASM Map children as orphans after a namespace handover.

This was confirmed by bisect to be the root cause of the CHASM migration pipeline failure: a Nexus echo-handler callback registered just before a namespace handover was tombstoned on the new active cluster, preventing delivery of the operation completion.

Test plan

  • Unit tests pass
  • Re-run CHASM migration nightly pipeline

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

@awln-temporal awln-temporal requested a review from a team as a code owner June 5, 2026 17:50
@yycptt
Copy link
Copy Markdown
Member

yycptt commented Jun 5, 2026

I thought it's already reverted in main? #10536

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