Skip to content

Commit 620e29f

Browse files
Mikael Ronströmprashanttekriwal
authored andcommitted
WL#8069: Post-push fix, improve testing for PLCP_3
(cherry picked from commit 9c05d933e599c6634f8f8db8ed2d8fab5559ea7b)
1 parent ee7d2b3 commit 620e29f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

storage/ndb/src/kernel/blocks/backup/Backup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5714,7 +5714,7 @@ Backup::start_lcp_scan(Signal *signal,
57145714

57155715
if (ptr.p->m_lcp_max_page_cnt > 20)
57165716
{
5717-
delay = 3000;
5717+
delay = 9000;
57185718
}
57195719
}
57205720
sendScanFragReq(signal, ptr, filePtr, tabPtr, fragPtr, delay);

storage/ndb/test/ndbapi/testSystemRestart.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ int runSystemRestartLCP_3(NDBT_Context *ctx, NDBT_Step *step)
903903
Uint32 batch = 1;
904904
Uint32 row_step = 10;
905905

906-
for (Uint32 k = 0; k < 3; k++)
906+
for (Uint32 k = 0; k < 6; k++)
907907
{
908908
/**
909909
* We start by deleting 90% of the rows with row_step set to 10.
@@ -944,7 +944,7 @@ int runSystemRestartLCP_3(NDBT_Context *ctx, NDBT_Step *step)
944944
g_err << "Insert the deleted records" << endl;
945945
for (Uint32 start = 1; start < 10; start++)
946946
{
947-
CHECK(hugoTrans.loadTableStartFrom(pNdb,
947+
CHECK((result = hugoTrans.loadTableStartFrom(pNdb,
948948
start,
949949
num_deleted_records,
950950
100,
@@ -954,7 +954,7 @@ int runSystemRestartLCP_3(NDBT_Context *ctx, NDBT_Step *step)
954954
0,
955955
false,
956956
true,
957-
10) == NDBT_OK);
957+
10)) == NDBT_OK);
958958
if (result == NDBT_FAILED)
959959
return result;
960960
}

0 commit comments

Comments
 (0)