File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -4667,6 +4667,8 @@ void TPersQueue::TryStartTransaction(const TActorContext& ctx)
4667
4667
Y_ABORT_UNLESS (next);
4668
4668
4669
4669
CheckTxState (ctx, *next);
4670
+
4671
+ TryWriteTxs (ctx);
4670
4672
}
4671
4673
4672
4674
void TPersQueue::OnInitComplete (const TActorContext& ctx)
Original file line number Diff line number Diff line change @@ -98,16 +98,16 @@ message TFeatureFlags {
98
98
reserved 83 ; // EnableKqpDataQuerySourceRead
99
99
optional bool EnableSmallDiskOptimization = 84 [default = true ];
100
100
optional bool EnableDataShardVolatileTransactions = 85 [default = false ];
101
- optional bool EnableTopicServiceTx = 86 [default = false ];
101
+ optional bool EnableTopicServiceTx = 86 [default = true ];
102
102
optional bool EnableLLVMCache = 87 [default = false ];
103
103
optional bool EnableExternalDataSources = 88 [default = false ];
104
104
optional bool EnableTopicDiskSubDomainQuota = 89 [default = true ];
105
105
optional bool EnableSeparationComputeActorsFromRead = 90 [default = false ];
106
- optional bool EnablePQConfigTransactionsAtSchemeShard = 91 [default = false ];
106
+ optional bool EnablePQConfigTransactionsAtSchemeShard = 91 [default = true ];
107
107
optional bool EnableScriptExecutionOperations = 92 [default = true ];
108
108
optional bool EnableImplicitQueryParameterTypes = 93 [default = false ];
109
109
optional bool EnableForceImmediateEffectsExecution = 94 [default = false ];
110
- optional bool EnableTopicSplitMerge = 95 [default = false ];
110
+ optional bool EnableTopicSplitMerge = 95 [default = true ];
111
111
optional bool EnableChangefeedDynamoDBStreamsFormat = 96 [default = true ];
112
112
optional bool ForceColumnTablesCompositeMarks = 97 [default = false ];
113
113
optional bool EnableSubscriptionsInDiscovery = 98 [default = false ];
Original file line number Diff line number Diff line change @@ -1247,6 +1247,8 @@ Y_UNIT_TEST_SUITE(Cdc) {
1247
1247
1248
1248
// get records
1249
1249
{
1250
+ WaitForDataRecords (client, shardIt);
1251
+
1250
1252
auto res = client.GetRecords (shardIt).ExtractValueSync ();
1251
1253
UNIT_ASSERT_C (res.IsSuccess (), res.GetIssues ().ToString ());
1252
1254
UNIT_ASSERT_VALUES_EQUAL (res.GetResult ().records ().size (), records.size ());
@@ -1268,6 +1270,19 @@ Y_UNIT_TEST_SUITE(Cdc) {
1268
1270
}
1269
1271
}
1270
1272
1273
+ static void WaitForDataRecords (TDataStreamsClient& client, const TString& shardIt) {
1274
+ int n = 0 ;
1275
+ for (; n < 100 ; ++n) {
1276
+ auto res = client.GetRecords (shardIt).ExtractValueSync ();
1277
+ UNIT_ASSERT_C (res.IsSuccess (), res.GetIssues ().ToString ());
1278
+ if (res.GetResult ().records ().size ()) {
1279
+ break ;
1280
+ }
1281
+ Sleep (TDuration::MilliSeconds (100 ));
1282
+ }
1283
+ UNIT_ASSERT_VALUES_UNEQUAL (n, 100 );
1284
+ }
1285
+
1271
1286
static void Write (const TShardedTableOptions& tableDesc, const TCdcStream& streamDesc) {
1272
1287
TTestYdsEnv env (tableDesc, streamDesc);
1273
1288
You can’t perform that action at this time.
0 commit comments