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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ee4a94a0
Commit
ee4a94a0
authored
Apr 10, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#27728 (5.1)
Make sure API is connected to nodes when subscribing
parent
27902d65
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
storage/ndb/include/kernel/signaldata/SumaImpl.hpp
storage/ndb/include/kernel/signaldata/SumaImpl.hpp
+2
-1
storage/ndb/src/kernel/blocks/suma/Suma.cpp
storage/ndb/src/kernel/blocks/suma/Suma.cpp
+10
-0
storage/ndb/src/ndbapi/ndberror.c
storage/ndb/src/ndbapi/ndberror.c
+1
-0
No files found.
storage/ndb/include/kernel/signaldata/SumaImpl.hpp
View file @
ee4a94a0
...
@@ -119,7 +119,8 @@ struct SubStartRef {
...
@@ -119,7 +119,8 @@ struct SubStartRef {
Undefined
=
1
,
Undefined
=
1
,
NF_FakeErrorREF
=
11
,
NF_FakeErrorREF
=
11
,
Busy
=
701
,
Busy
=
701
,
NotMaster
=
702
NotMaster
=
702
,
PartiallyConnected
=
1421
};
};
STATIC_CONST
(
SignalLength
=
7
);
STATIC_CONST
(
SignalLength
=
7
);
...
...
storage/ndb/src/kernel/blocks/suma/Suma.cpp
View file @
ee4a94a0
...
@@ -2394,6 +2394,16 @@ Suma::execSUB_START_REQ(Signal* signal){
...
@@ -2394,6 +2394,16 @@ Suma::execSUB_START_REQ(Signal* signal){
sendSubStartRef
(
signal
,
1412
);
sendSubStartRef
(
signal
,
1412
);
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
if
(
c_startup
.
m_restart_server_node_id
==
0
&&
!
c_connected_nodes
.
get
(
refToNode
(
subscriberRef
)))
{
jam
();
sendSubStartRef
(
signal
,
SubStartRef
::
PartiallyConnected
);
return
;
}
DBUG_PRINT
(
"info"
,(
"c_subscriberPool size: %d free: %d"
,
DBUG_PRINT
(
"info"
,(
"c_subscriberPool size: %d free: %d"
,
c_subscriberPool
.
getSize
(),
c_subscriberPool
.
getSize
(),
c_subscriberPool
.
getNoOfFree
()));
c_subscriberPool
.
getNoOfFree
()));
...
...
storage/ndb/src/ndbapi/ndberror.c
View file @
ee4a94a0
...
@@ -490,6 +490,7 @@ ErrorBundle ErrorCodes[] = {
...
@@ -490,6 +490,7 @@ ErrorBundle ErrorCodes[] = {
{
1419
,
DMEC
,
SE
,
"Subscription already dropped"
},
{
1419
,
DMEC
,
SE
,
"Subscription already dropped"
},
{
1420
,
DMEC
,
TR
,
"Subscriber manager busy with adding/removing a table"
},
{
1420
,
DMEC
,
TR
,
"Subscriber manager busy with adding/removing a table"
},
{
1421
,
DMEC
,
SE
,
"Partially connected API in NdbOperation::execute()"
},
{
4004
,
DMEC
,
AE
,
"Attribute name or id not found in the table"
},
{
4004
,
DMEC
,
AE
,
"Attribute name or id not found in the table"
},
...
...
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