diff --git a/service/history/shard/context_impl.go b/service/history/shard/context_impl.go index 13aea3455b5..cc1564172ba 100644 --- a/service/history/shard/context_impl.go +++ b/service/history/shard/context_impl.go @@ -1215,7 +1215,7 @@ func (s *ContextImpl) renewRangeLocked(isStealing bool) error { s.taskSequenceNumber = updatedShardInfo.GetRangeId() << s.config.RangeSizeBits s.maxTaskSequenceNumber = (updatedShardInfo.GetRangeId() + 1) << s.config.RangeSizeBits s.immediateTaskExclusiveMaxReadLevel = s.taskSequenceNumber - s.shardInfo = updatedShardInfo + s.shardInfo = loadShardInfoCompatibilityCheck(s.clusterMetadata, copyShardInfo(updatedShardInfo)) return nil }