@@ -61,13 +61,8 @@ public class YdbOperationProperties {
6161 "Use new data types Date32/Datetime64/Timestamp64 by default" , false
6262 );
6363
64- static final YdbProperty <Boolean > PROCESS_UNDETERMINED = YdbProperty .bool ("processUndetermined" ,
65- "Enable automatic processing of UNDETERMINED errors" , false
66- );
67-
68- static final YdbProperty <String > PROCESS_UNDETERMINED_TABLE = YdbProperty .string ("processUndeterminedTable" ,
69- "Name of working table for automatic processing of UNDETERMINED errors" , "ydb_transactions"
70- );
64+ static final YdbProperty <String > TX_VALIDATION_TABLE = YdbProperty .string ("withTxValidationTable" ,
65+ "Name of working table to store transactions to avoid UNDETERMINED errors" );
7166
7267 private static final int MAX_ROWS = 1000 ; // TODO: how to figure out the max rows of current connection?
7368
@@ -86,8 +81,7 @@ public class YdbOperationProperties {
8681
8782 private final YdbValue <Boolean > useStreamResultSets ;
8883 private final YdbValue <Boolean > forceNewDatetypes ;
89- private final YdbValue <Boolean > processUndetermined ;
90- private final YdbValue <String > processUndeterminedTable ;
84+ private final YdbValue <String > txValidationTable ;
9185
9286 public YdbOperationProperties (YdbConfig config ) throws SQLException {
9387 Properties props = config .getProperties ();
@@ -107,8 +101,7 @@ public YdbOperationProperties(YdbConfig config) throws SQLException {
107101
108102 this .useStreamResultSets = USE_STREAM_RESULT_SETS .readValue (props );
109103 this .forceNewDatetypes = FORCE_NEW_DATETYPES .readValue (props );
110- this .processUndetermined = PROCESS_UNDETERMINED .readValue (props );
111- this .processUndeterminedTable = PROCESS_UNDETERMINED_TABLE .readValue (props );
104+ this .txValidationTable = TX_VALIDATION_TABLE .readValue (props );
112105 }
113106
114107 public Duration getJoinDuration () {
@@ -163,15 +156,11 @@ public boolean getForceNewDatetypes() {
163156 return forceNewDatetypes .getValue ();
164157 }
165158
166- public boolean getProcessUndetermined () {
167- return processUndetermined .getValue ();
168- }
169-
170- public String getProcessUndeterminedTable () {
171- return processUndeterminedTable .getValue ();
172- }
173-
174159 public int getMaxRows () {
175160 return MAX_ROWS ;
176161 }
162+
163+ public String getTxValidationTable () {
164+ return txValidationTable .getValue ();
165+ }
177166}
0 commit comments