Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
96767: spanconfig: fix assertion that ensures split at tenant boundary r=ecwall a=arulajmani We added an assertion in #96014 to ensure that full reconciliation always preserves a split point at the start of the tenant's keyspace. The comment that introduces the assertion explains such a span config record should be present, however, makes the assertion that such a record is the first span config record for the tenant. There's no real reason to make the "first record" assertion here. In fact, that assumption isn't correct when system span configurations are in play, as they sort before regular span configurations. I noticed this broke `TestBackupRestoreTenantSettings`, causing a panic in the reconciler, while workong on an unrelated patch. This patch relaxes the "first record" assertion. We're happy as long as it's present somewhere. Release note: None Epic: None Co-authored-by: Arul Ajmani <[email protected]>
- Loading branch information