@@ -126,6 +126,9 @@ pub struct PrewriteRequest {
126
126
/// The level of assertion to use on this prewrte request.
127
127
#[ prost( enumeration = "AssertionLevel" , tag = "15" ) ]
128
128
pub assertion_level : i32 ,
129
+ /// Reserved for file based transaction.
130
+ #[ prost( uint64, repeated, tag = "100" ) ]
131
+ pub txn_file_chunks : :: prost:: alloc:: vec:: Vec < u64 > ,
129
132
}
130
133
#[ allow( clippy:: derive_partial_eq_without_eq) ]
131
134
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -255,6 +258,9 @@ pub struct TxnHeartBeatRequest {
255
258
/// The new TTL the sender would like.
256
259
#[ prost( uint64, tag = "4" ) ]
257
260
pub advise_lock_ttl : u64 ,
261
+ /// Reserved for file based transaction.
262
+ #[ prost( bool , tag = "100" ) ]
263
+ pub is_txn_file : bool ,
258
264
}
259
265
#[ allow( clippy:: derive_partial_eq_without_eq) ]
260
266
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -304,6 +310,9 @@ pub struct CheckTxnStatusRequest {
304
310
/// it's still uncertain.
305
311
#[ prost( bool , tag = "8" ) ]
306
312
pub resolving_pessimistic_lock : bool ,
313
+ /// Reserved for file based transaction.
314
+ #[ prost( bool , tag = "100" ) ]
315
+ pub is_txn_file : bool ,
307
316
}
308
317
#[ allow( clippy:: derive_partial_eq_without_eq) ]
309
318
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -373,6 +382,9 @@ pub struct CommitRequest {
373
382
/// Timestamp for the end of the transaction. Must be greater than `start_version`.
374
383
#[ prost( uint64, tag = "4" ) ]
375
384
pub commit_version : u64 ,
385
+ /// Reserved for file based transaction.
386
+ #[ prost( bool , tag = "100" ) ]
387
+ pub is_txn_file : bool ,
376
388
}
377
389
#[ allow( clippy:: derive_partial_eq_without_eq) ]
378
390
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -470,6 +482,9 @@ pub struct BatchRollbackRequest {
470
482
/// The keys to rollback.
471
483
#[ prost( bytes = "vec" , repeated, tag = "3" ) ]
472
484
pub keys : :: prost:: alloc:: vec:: Vec < :: prost:: alloc:: vec:: Vec < u8 > > ,
485
+ /// Reserved for file based transaction.
486
+ #[ prost( bool , tag = "100" ) ]
487
+ pub is_txn_file : bool ,
473
488
}
474
489
#[ allow( clippy:: derive_partial_eq_without_eq) ]
475
490
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -528,6 +543,9 @@ pub struct ResolveLockRequest {
528
543
/// Only resolve specified keys.
529
544
#[ prost( bytes = "vec" , repeated, tag = "5" ) ]
530
545
pub keys : :: prost:: alloc:: vec:: Vec < :: prost:: alloc:: vec:: Vec < u8 > > ,
546
+ /// Reserved for file based transaction.
547
+ #[ prost( bool , tag = "100" ) ]
548
+ pub is_txn_file : bool ,
531
549
}
532
550
#[ allow( clippy:: derive_partial_eq_without_eq) ]
533
551
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -1050,6 +1068,9 @@ pub struct LockInfo {
1050
1068
pub min_commit_ts : u64 ,
1051
1069
#[ prost( bytes = "vec" , repeated, tag = "10" ) ]
1052
1070
pub secondaries : :: prost:: alloc:: vec:: Vec < :: prost:: alloc:: vec:: Vec < u8 > > ,
1071
+ /// Reserved for file based transaction.
1072
+ #[ prost( bool , tag = "100" ) ]
1073
+ pub is_txn_file : bool ,
1053
1074
}
1054
1075
#[ allow( clippy:: derive_partial_eq_without_eq) ]
1055
1076
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -1344,6 +1365,9 @@ pub struct TxnInfo {
1344
1365
pub txn : u64 ,
1345
1366
#[ prost( uint64, tag = "2" ) ]
1346
1367
pub status : u64 ,
1368
+ /// Reserved for file based transaction.
1369
+ #[ prost( bool , tag = "100" ) ]
1370
+ pub is_txn_file : bool ,
1347
1371
}
1348
1372
#[ allow( clippy:: derive_partial_eq_without_eq) ]
1349
1373
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
0 commit comments