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
24396578
Commit
24396578
authored
Apr 24, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #14516 Restart of cluster can cause NDB API replication failure
- this behavior was already changed, adding testcase
parent
52419169
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
mysql-test/r/ndb_binlog_discover.result
mysql-test/r/ndb_binlog_discover.result
+13
-0
mysql-test/t/ndb_binlog_discover.test
mysql-test/t/ndb_binlog_discover.test
+19
-0
No files found.
mysql-test/r/ndb_binlog_discover.result
0 → 100644
View file @
24396578
drop table if exists t1;
create table t1 (a int key) engine=ndb;
reset master;
insert into t1 values(1);
show binlog events from <binlog_start>;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query # # BEGIN
master-bin.000001 # Table_map # # table_id: # (test.t1)
master-bin.000001 # Table_map # # table_id: # (cluster.apply_status)
master-bin.000001 # Write_rows # # table_id: #
master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # COMMIT
drop table t1;
mysql-test/t/ndb_binlog_discover.test
0 → 100644
View file @
24396578
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_binlog_format_row
.
inc
--
disable_warnings
drop
table
if
exists
t1
;
--
enable_warnings
#
# Bug #14516 Restart of cluster can cause NDB API replication failure
#
create
table
t1
(
a
int
key
)
engine
=
ndb
;
reset
master
;
--
exec
$NDB_MGM
--
no
-
defaults
-
e
"all restart -n"
>
/
dev
/
null
--
exec
$NDB_TOOLS_DIR
/
ndb_waiter
--
no
-
defaults
--
not
-
started
>
/
dev
/
null
--
exec
$NDB_MGM
--
no
-
defaults
-
e
"all start"
>
/
dev
/
null
--
exec
$NDB_TOOLS_DIR
/
ndb_waiter
--
no
-
defaults
>
/
dev
/
null
insert
into
t1
values
(
1
);
--
source
include
/
show_binlog_events
.
inc
drop
table
t1
;
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