Skip to content

Commit 3a01e36

Browse files
committed
Merge branch 'mysql-5.6-cluster-7.4' into mysql-5.7-cluster-7.5
Change-Id: I670dbb694d5c2add9290995c5ff69e19b633d392
2 parents f26555f + 1ea4b28 commit 3a01e36

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
2+
Copyright (c) 2003, 2021, Oracle and/or its affiliates.
33

44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License, version 2.0,
@@ -20262,6 +20262,12 @@ void Dbdict::dropEvent_sendReply(Signal* signal,
2026220262
ret->setErrorLine(evntRecPtr.p->m_errorLine);
2026320263
ret->setErrorNode(evntRecPtr.p->m_errorNode);
2026420264

20265+
// Attempt to get the trace to investigate sporadic failures
20266+
#ifdef ERROR_INSERT
20267+
ndbrequire(evntRecPtr.p->m_errorCode != 4710); // Investigate Bug#32130078
20268+
ndbrequire(evntRecPtr.p->m_errorCode != 1418); // Investigate Bug#30647187
20269+
#endif
20270+
2026520271
sendSignal(senderRef, GSN_DROP_EVNT_REF, signal,
2026620272
DropEvntRef::SignalLength, JBB);
2026720273
} else {

storage/ndb/test/ndbapi/testUpgrade.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,13 +370,14 @@ createDropEvent(NDBT_Context* ctx, NDBT_Step* step, bool wait = true)
370370
{
371371
continue;
372372
}
373+
ndbout << "step " << step->getStepNo() << endl;
374+
ndbout << "Creating event for table: " << tab->getName() << endl;
373375
if ((res = createEvent(pNdb, *tab) != NDBT_OK))
374376
{
375377
goto done;
376378
}
377-
378-
379-
379+
ndbout << "step " << step->getStepNo() << endl;
380+
ndbout << "Dropping event for table: " << tab->getName() << endl;
380381
if ((res = dropEvent(pNdb, *tab)) != NDBT_OK)
381382
{
382383
goto done;

0 commit comments

Comments
 (0)