-
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.
roachpb: modify SpanConfigEntry and span config RPCs to work on targets
This patch modifies roachpb.SpanConfigEntry to tie a roachpb.SpanConfigTarget (instead of roachpb.Span) with a roachpb.SpanConfig. A roachpb.SpanConfigTarget is a union proto over roachpb.Span and roachpb.SystemSpanConfigTarget. Given a roachpb.SpanConfigEntry, we can use the roachpb.SpanConfigTarget to disambiguate between regular span configurations and system span configurations. We use the modified roachpb.SpanConfigEntry in all our RPCs. We also replace usages of roachpb.Spans with roachpb.SpanConfigTargets in the RPCs as well. Release note: None
- Loading branch information
1 parent
d10188f
commit ebec94f
Showing
11 changed files
with
376 additions
and
140 deletions.
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
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
Oops, something went wrong.