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
28810586
Commit
28810586
authored
Feb 21, 2014
by
John Esmet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not use the newest of our ancestor's oldest_referenced_xid values -
there may be an abort message waiting to be applied.
parent
b5cd7aec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
ft/ft-ops.cc
ft/ft-ops.cc
+1
-9
No files found.
ft/ft-ops.cc
View file @
28810586
...
...
@@ -4644,15 +4644,7 @@ toku_apply_ancestors_messages_to_node (
paranoid_invariant
(
node
->
height
==
0
);
TXNID
oldest_referenced_xid_for_simple_gc
=
toku_ft_get_oldest_referenced_xid_estimate
(
t
);
TXNID
oldest_referenced_xid_for_implicit_promotion
=
ancestors
->
node
->
oldest_referenced_xid_known
;
// We want the newest value from any of our ancestors, for it to be most effecitve.
for
(
ANCESTORS
curr_ancestors
=
ancestors
;
curr_ancestors
;
curr_ancestors
=
curr_ancestors
->
next
)
{
if
(
curr_ancestors
->
node
->
oldest_referenced_xid_known
>
oldest_referenced_xid_for_implicit_promotion
)
{
oldest_referenced_xid_for_implicit_promotion
=
curr_ancestors
->
node
->
oldest_referenced_xid_known
;
}
}
TXNID
oldest_referenced_xid_for_implicit_promotion
=
node
->
oldest_referenced_xid_known
;
txn_gc_info
gc_info
(
nullptr
,
oldest_referenced_xid_for_simple_gc
,
oldest_referenced_xid_for_implicit_promotion
,
...
...
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