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
07f8360f
Commit
07f8360f
authored
Jul 24, 2017
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-10379: Failing assertion: xid_seqno > trx_sys_cur_xid_seqno
Remove too strict debug assertion.
parent
e5c488a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
40 deletions
+0
-40
storage/innobase/trx/trx0sys.c
storage/innobase/trx/trx0sys.c
+0
-20
storage/xtradb/trx/trx0sys.c
storage/xtradb/trx/trx0sys.c
+0
-20
No files found.
storage/innobase/trx/trx0sys.c
View file @
07f8360f
...
...
@@ -825,26 +825,6 @@ trx_sys_update_wsrep_checkpoint(
trx_sysf_t
*
sys_header
,
/*!< in: sys_header */
mtr_t
*
mtr
)
/*!< in: mtr */
{
#ifdef UNIV_DEBUG
{
/* Check that seqno is monotonically increasing */
unsigned
char
xid_uuid
[
16
];
long
long
xid_seqno
=
read_wsrep_xid_seqno
(
xid
);
read_wsrep_xid_uuid
(
xid
,
xid_uuid
);
if
(
!
memcmp
(
xid_uuid
,
trx_sys_cur_xid_uuid
,
8
))
{
ut_ad
(
xid_seqno
>
trx_sys_cur_xid_seqno
);
trx_sys_cur_xid_seqno
=
xid_seqno
;
}
else
{
memcpy
(
trx_sys_cur_xid_uuid
,
xid_uuid
,
16
);
}
trx_sys_cur_xid_seqno
=
xid_seqno
;
}
#endif
/* UNIV_DEBUG */
ut_ad
(
xid
&&
mtr
&&
sys_header
);
ut_a
(
xid
->
formatID
==
-
1
||
wsrep_is_wsrep_xid
(
xid
));
...
...
storage/xtradb/trx/trx0sys.c
View file @
07f8360f
...
...
@@ -990,26 +990,6 @@ trx_sys_update_wsrep_checkpoint(
trx_sysf_t
*
sys_header
,
/*!< in: sys_header */
mtr_t
*
mtr
)
/*!< in: mtr */
{
#ifdef UNIV_DEBUG
{
/* Check that seqno is monotonically increasing */
unsigned
char
xid_uuid
[
16
];
long
long
xid_seqno
=
read_wsrep_xid_seqno
(
xid
);
read_wsrep_xid_uuid
(
xid
,
xid_uuid
);
if
(
!
memcmp
(
xid_uuid
,
trx_sys_cur_xid_uuid
,
8
))
{
ut_ad
(
xid_seqno
>
trx_sys_cur_xid_seqno
);
trx_sys_cur_xid_seqno
=
xid_seqno
;
}
else
{
memcpy
(
trx_sys_cur_xid_uuid
,
xid_uuid
,
16
);
}
trx_sys_cur_xid_seqno
=
xid_seqno
;
}
#endif
/* UNIV_DEBUG */
ut_ad
(
xid
&&
mtr
&&
sys_header
);
ut_a
(
xid
->
formatID
==
-
1
||
wsrep_is_wsrep_xid
(
xid
));
...
...
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