-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
137055: loq: clear LeadEpoch when re-writing the RangeDescriptor r=iskettaneh a=iskettaneh If the fortified leader is removed from the RangeDescriptor, SupportFor() will return epoch=0. This will fire an assertion since supportFor epochs should never regress. This commit changes the LoQ behaviour where it resets the LeadEpoch when rewriting the ReplicaDescriptor. Fixes: #136908 Release note: None 137137: roachtest: use updated update_tenant_resource_limits signature in 24.2.1+ r=srosenberg a=DarrylWong The function signature of update_tenant_resource_limits was changed in v24.2.1 to deprecate the args "as_of" and "as_of_consumed_tokens". Since serverless currently only uses the `tenant_id` overload and not the `tenant_name` overload like we do in mixedversion, the args were removed completely from the latter. This breaks backwards compatibility so this change selectively omits the removed args if the version is 24.2.1+. Fixes: none Epic: none Release note: none Co-authored-by: Ibrahim Kettaneh <[email protected]> Co-authored-by: DarrylWong <[email protected]>
- Loading branch information
Showing
4 changed files
with
26 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
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