@@ -381,30 +381,6 @@ message ConditionalPutResponse {
381
381
ResponseHeader header = 1 [(gogoproto.nullable ) = false , (gogoproto.embed ) = true ];
382
382
}
383
383
384
- // An InitPutRequest is the argument to the InitPut() method.
385
- //
386
- // - If key doesn't exist, sets value.
387
- // - If key exists, returns a ConditionFailedError if value != existing value
388
- // If failOnTombstones is set to true, tombstone values count as mismatched
389
- // values and will cause a ConditionFailedError.
390
- // TODO(yuzefovich): this can be removed once the compatibility with 24.3 is no
391
- // longer needed.
392
- message InitPutRequest {
393
- RequestHeader header = 1 [(gogoproto.nullable ) = false , (gogoproto.embed ) = true ];
394
- Value value = 2 [(gogoproto.nullable ) = false ];
395
- // NOTE: For internal use only! Set to indicate that the put is
396
- // writing to virgin keyspace and no reads are necessary to
397
- // rationalize MVCC.
398
- bool blind = 3 ;
399
- // If true, tombstones cause ConditionFailedErrors.
400
- bool failOnTombstones = 4 ;
401
- }
402
-
403
- // A InitPutResponse is the return value from the InitPut() method.
404
- message InitPutResponse {
405
- ResponseHeader header = 1 [(gogoproto.nullable ) = false , (gogoproto.embed ) = true ];
406
- }
407
-
408
384
// An IncrementRequest is the argument to the Increment() method. It
409
385
// increments the value for key, and returns the new value. If no
410
386
// value exists for a key, incrementing by 0 is not a noop, but will
@@ -2511,7 +2487,6 @@ message RequestUnion {
2511
2487
ReverseScanRequest reverse_scan = 21 ;
2512
2488
ComputeChecksumRequest compute_checksum = 22 ;
2513
2489
CheckConsistencyRequest check_consistency = 24 ;
2514
- InitPutRequest init_put = 26 ;
2515
2490
TransferLeaseRequest transfer_lease = 28 ;
2516
2491
LeaseInfoRequest lease_info = 30 ;
2517
2492
ExportRequest export = 32 ;
@@ -2533,7 +2508,7 @@ message RequestUnion {
2533
2508
LinkExternalSSTableRequest link_external_sstable = 57 ;
2534
2509
ExciseRequest excise = 58 ;
2535
2510
}
2536
- reserved 8 , 15 , 23 , 25 , 27 , 31 , 34 , 49 , 52 ;
2511
+ reserved 8 , 15 , 23 , 25 , 26 , 27 , 31 , 34 , 49 , 52 ;
2537
2512
}
2538
2513
2539
2514
// A ResponseUnion contains exactly one of the responses.
@@ -2568,7 +2543,6 @@ message ResponseUnion {
2568
2543
ReverseScanResponse reverse_scan = 21 ;
2569
2544
ComputeChecksumResponse compute_checksum = 22 ;
2570
2545
CheckConsistencyResponse check_consistency = 24 ;
2571
- InitPutResponse init_put = 26 ;
2572
2546
LeaseInfoResponse lease_info = 30 ;
2573
2547
ExportResponse export = 32 ;
2574
2548
QueryTxnResponse query_txn = 33 ;
@@ -2589,7 +2563,7 @@ message ResponseUnion {
2589
2563
LinkExternalSSTableResponse link_external_sstable = 57 ;
2590
2564
ExciseResponse excise = 58 ;
2591
2565
}
2592
- reserved 8 , 15 , 23 , 25 , 27 , 28 , 31 , 34 , 49 , 52 ;
2566
+ reserved 8 , 15 , 23 , 25 , 26 , 27 , 28 , 31 , 34 , 49 , 52 ;
2593
2567
}
2594
2568
2595
2569
// A Header is attached to a BatchRequest, encapsulating routing and auxiliary
0 commit comments