Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
808cc442
Commit
808cc442
authored
Feb 07, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.1-new-ndb
into pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-ndb
parents
638eb553
5a91de95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+18
-1
No files found.
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
View file @
808cc442
...
...
@@ -43,6 +43,7 @@
#include <NdbEnv.h>
#include <NdbMem.h>
#include <util/version.h>
#include <NdbSleep.h>
#define DEBUG_PRINT 0
#define INCOMPATIBLE_VERSION -2
...
...
@@ -1777,7 +1778,23 @@ NdbDictInterface::dictSignal(NdbApiSignal* sig,
{
DBUG_ENTER
(
"NdbDictInterface::dictSignal"
);
DBUG_PRINT
(
"enter"
,
(
"useMasterNodeId: %d"
,
node_specification
));
for
(
Uint32
i
=
0
;
i
<
RETRIES
;
i
++
){
int
sleep
=
50
;
int
mod
=
5
;
for
(
Uint32
i
=
0
;
i
<
RETRIES
;
i
++
)
{
if
(
i
>
0
)
NdbSleep_MilliSleep
(
sleep
+
10
*
(
rand
()
%
mod
));
if
(
i
==
RETRIES
/
2
)
{
mod
=
10
;
}
if
(
i
==
3
*
RETRIES
/
4
)
{
sleep
=
100
;
}
m_buffer
.
clear
();
// Protected area
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment