Skip to content

Commit e77f284

Browse files
committed
WIP-38-2-0
1 parent 48ef7eb commit e77f284

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

ydb/core/tx/datashard/datashard_ut_incremental_backup.cpp

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3334,11 +3334,6 @@ Y_UNIT_TEST_SUITE(IncrementalBackup) {
33343334
(4, 14, 24, 34);
33353335
)");
33363336

3337-
auto tmp1 = KqpSimpleExecSuccess(runtime, R"(
3338-
SELECT key FROM `/Root/MultiIndexTable` VIEW index1 WHERE value1 = 14
3339-
)");
3340-
Cerr << "BACKUPED___XXX " << tmp1 << Endl;
3341-
33423337
// Create incremental backup
33433338
ExecSQL(server, edgeActor, R"(BACKUP `MultiIndexCollection` INCREMENTAL;)", false);
33443339
SimulateSleep(server, TDuration::Seconds(5));
@@ -3359,11 +3354,6 @@ Y_UNIT_TEST_SUITE(IncrementalBackup) {
33593354
)");
33603355
UNIT_ASSERT_VALUES_EQUAL(expectedTable, actualTable);
33613356

3362-
auto tmp2 = KqpSimpleExecSuccess(runtime, R"(
3363-
SELECT key FROM `/Root/MultiIndexTable` VIEW index1 WHERE value1 = 14
3364-
)");
3365-
Cerr << "RESTORED___XXX " << tmp2 << Endl;
3366-
33673357
// Verify all indexes work
33683358
auto index1Query = KqpSimpleExecSuccess(runtime, R"(
33693359
SELECT key FROM `/Root/MultiIndexTable` VIEW index1 WHERE value1 = 14
@@ -3572,14 +3562,14 @@ Y_UNIT_TEST_SUITE(IncrementalBackup) {
35723562
ExecSQL(server, edgeActor, R"(
35733563
UPSERT INTO `/Root/SequenceTable` (key, value, indexed) VALUES (3, 30, 300);
35743564
)");
3575-
// ExecSQL(server, edgeActor, R"(BACKUP `SequenceCollection` INCREMENTAL;)", false); // FIXME
3565+
ExecSQL(server, edgeActor, R"(BACKUP `SequenceCollection` INCREMENTAL;)", false);
35763566
SimulateSleep(server, TDuration::Seconds(5));
35773567

35783568
// Second incremental: update data
35793569
ExecSQL(server, edgeActor, R"(
35803570
UPSERT INTO `/Root/SequenceTable` (key, value, indexed) VALUES (2, 25, 250);
35813571
)");
3582-
// ExecSQL(server, edgeActor, R"(BACKUP `SequenceCollection` INCREMENTAL;)", false); // FIXME
3572+
ExecSQL(server, edgeActor, R"(BACKUP `SequenceCollection` INCREMENTAL;)", false);
35833573
SimulateSleep(server, TDuration::Seconds(5));
35843574

35853575
// Third incremental: delete and add

0 commit comments

Comments
 (0)