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
0b4bc426
Commit
0b4bc426
authored
Apr 17, 2013
by
Zardosht Kasheff
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[t:4762], move comment
git-svn-id:
file:///svn/toku/tokudb@42351
c7de825b-a66e-492c-adef-691d508d4ae1
parent
80fd1d38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
newbrt/ule.c
newbrt/ule.c
+7
-7
No files found.
newbrt/ule.c
View file @
0b4bc426
...
@@ -250,13 +250,6 @@ garbage_collection(ULE ule, OMT snapshot_xids, OMT live_list_reverse, OMT live_r
...
@@ -250,13 +250,6 @@ garbage_collection(ULE ule, OMT snapshot_xids, OMT live_list_reverse, OMT live_r
TXNID
tl1
;
TXNID
tl1
;
TXNID
xc
=
ule
->
uxrs
[
curr_committed_entry
].
xid
;
TXNID
xc
=
ule
->
uxrs
[
curr_committed_entry
].
xid
;
BOOL
is_xc_live
=
toku_is_txn_in_live_root_txn_list
(
live_root_txns
,
xc
);
if
(
is_xc_live
)
{
curr_committed_entry
--
;
continue
;
}
tl1
=
toku_get_youngest_live_list_txnid_for
(
xc
,
live_list_reverse
);
//
//
// If we find that the committed transaction is in the live list,
// If we find that the committed transaction is in the live list,
// then xc is really in the process of being committed. It has not
// then xc is really in the process of being committed. It has not
...
@@ -266,6 +259,13 @@ garbage_collection(ULE ule, OMT snapshot_xids, OMT live_list_reverse, OMT live_r
...
@@ -266,6 +259,13 @@ garbage_collection(ULE ule, OMT snapshot_xids, OMT live_list_reverse, OMT live_r
// As a result, we must mark what is just below xc as necessary and move on.
// As a result, we must mark what is just below xc as necessary and move on.
// This issue was found while testing flusher threads, and was fixed for #3979
// This issue was found while testing flusher threads, and was fixed for #3979
//
//
BOOL
is_xc_live
=
toku_is_txn_in_live_root_txn_list
(
live_root_txns
,
xc
);
if
(
is_xc_live
)
{
curr_committed_entry
--
;
continue
;
}
tl1
=
toku_get_youngest_live_list_txnid_for
(
xc
,
live_list_reverse
);
if
(
tl1
==
xc
)
{
if
(
tl1
==
xc
)
{
// if tl1 == xc, that means xc should be live and show up in
// if tl1 == xc, that means xc should be live and show up in
// live_root_txns, which we check above. So, if we get
// live_root_txns, which we check above. So, if we get
...
...
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