-
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.
103724: kvnemesis: update outdated signatures or repro.go r=nvanbenschoten a=aliher1911 Signatures for Split/Merge/LeaseTransfer were out of date in generated knvemesis code. This made repro.go non compilable. This PR fixes strings used to generate repro code for test failures. Epic: none Release note: None Co-authored-by: Oleg Afanasyev <[email protected]>
- Loading branch information
Showing
7 changed files
with
25 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
echo | ||
---- | ||
db0.AdminChangeReplicas(ctx, tk(1), getRangeDesc(ctx, tk(1), db0), kvpb.ReplicationChange{ChangeType: roachpb.ADD_VOTER, Target: roachpb.ReplicationTarget{NodeID: 1, StoreID: 1}}) // trying to add a voter to a store that already has a VOTER_FULL |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
echo | ||
---- | ||
db1.AdminSplit(ctx, tk(2)) // <nil> | ||
db1.AdminSplit(ctx, tk(2), hlc.MaxTimestamp) // <nil> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
echo | ||
---- | ||
db1.AdminSplit(ctx, tk(2)) // context canceled | ||
db1.AdminSplit(ctx, tk(2), hlc.MaxTimestamp) // context canceled |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
echo | ||
---- | ||
db1.TransferLeaseOperation(ctx, tk(6), 1) // <nil> | ||
db1.AdminTransferLease(ctx, tk(6), 1) // <nil> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
echo | ||
---- | ||
db0.TransferLeaseOperation(ctx, tk(6), 1) // context canceled | ||
db0.AdminTransferLease(ctx, tk(6), 1) // context canceled |