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
f245bbb1
Commit
f245bbb1
authored
Jan 03, 2013
by
John Esmet
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix stuff
git-svn-id:
file:///svn/toku/tokudb@51669
c7de825b-a66e-492c-adef-691d508d4ae1
parent
e91c4512
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ft/ft-flusher.cc
ft/ft-flusher.cc
+2
-2
ft/ft-ops.cc
ft/ft-ops.cc
+3
-3
No files found.
ft/ft-flusher.cc
View file @
f245bbb1
...
@@ -730,7 +730,7 @@ static void ftnode_finalize_split(FTNODE node, FTNODE B, MSN max_msn_applied_to_
...
@@ -730,7 +730,7 @@ static void ftnode_finalize_split(FTNODE node, FTNODE B, MSN max_msn_applied_to_
B
->
max_msn_applied_to_node_on_disk
=
max_msn_applied_to_node
;
B
->
max_msn_applied_to_node_on_disk
=
max_msn_applied_to_node
;
// The new node in the split inherits the oldest known reference xid
// The new node in the split inherits the oldest known reference xid
B
->
oldest_referenced_xid_known
=
node
->
oldest_
known_referenced_xid
;
B
->
oldest_referenced_xid_known
=
node
->
oldest_
referenced_xid_known
;
node
->
dirty
=
1
;
node
->
dirty
=
1
;
B
->
dirty
=
1
;
B
->
dirty
=
1
;
...
@@ -1917,7 +1917,7 @@ place_node_and_bnc_on_background_thread(
...
@@ -1917,7 +1917,7 @@ place_node_and_bnc_on_background_thread(
//
//
void
toku_ft_flush_node_on_background_thread
(
FT
h
,
FTNODE
parent
)
void
toku_ft_flush_node_on_background_thread
(
FT
h
,
FTNODE
parent
)
{
{
TXNID
oldest_referenced_xid_known
=
parent
->
oldest_
known_referenced_xid
;
TXNID
oldest_referenced_xid_known
=
parent
->
oldest_
referenced_xid_known
;
//
//
// first let's see if we can detach buffer on client thread
// first let's see if we can detach buffer on client thread
// and pick the child we want to flush to
// and pick the child we want to flush to
...
...
ft/ft-ops.cc
View file @
f245bbb1
...
@@ -752,7 +752,7 @@ void toku_ftnode_clone_callback(
...
@@ -752,7 +752,7 @@ void toku_ftnode_clone_callback(
rebalance_ftnode_leaf
(
node
,
ft
->
h
->
basementnodesize
);
rebalance_ftnode_leaf
(
node
,
ft
->
h
->
basementnodesize
);
}
}
cloned_node
->
oldest_referenced_xid_known
=
node
->
oldest_
known_referenced_xid
;
cloned_node
->
oldest_referenced_xid_known
=
node
->
oldest_
referenced_xid_known
;
cloned_node
->
max_msn_applied_to_node_on_disk
=
node
->
max_msn_applied_to_node_on_disk
;
cloned_node
->
max_msn_applied_to_node_on_disk
=
node
->
max_msn_applied_to_node_on_disk
;
cloned_node
->
flags
=
node
->
flags
;
cloned_node
->
flags
=
node
->
flags
;
cloned_node
->
thisnodename
=
node
->
thisnodename
;
cloned_node
->
thisnodename
=
node
->
thisnodename
;
...
@@ -2337,7 +2337,7 @@ void toku_bnc_flush_to_child(
...
@@ -2337,7 +2337,7 @@ void toku_bnc_flush_to_child(
);
);
remaining_memsize
-=
FIFO_CURRENT_ENTRY_MEMSIZE
;
remaining_memsize
-=
FIFO_CURRENT_ENTRY_MEMSIZE
;
}));
}));
child
->
oldest_referenced_xid_known
=
oldest_
known_referenced_xid
;
child
->
oldest_referenced_xid_known
=
oldest_
referenced_xid_known
;
invariant
(
remaining_memsize
==
0
);
invariant
(
remaining_memsize
==
0
);
if
(
stats_delta
.
numbytes
||
stats_delta
.
numrows
)
{
if
(
stats_delta
.
numbytes
||
stats_delta
.
numrows
)
{
...
@@ -2440,7 +2440,7 @@ void toku_ft_leaf_apply_cmd(
...
@@ -2440,7 +2440,7 @@ void toku_ft_leaf_apply_cmd(
// Pass the oldest possible live xid value to each basementnode
// Pass the oldest possible live xid value to each basementnode
// when we apply messages to them.
// when we apply messages to them.
TXNID
oldest_referenced_xid_known
=
node
->
oldest_
known_referenced_xid
;
TXNID
oldest_referenced_xid_known
=
node
->
oldest_
referenced_xid_known
;
if
(
ft_msg_applies_once
(
cmd
))
{
if
(
ft_msg_applies_once
(
cmd
))
{
unsigned
int
childnum
=
(
target_childnum
>=
0
unsigned
int
childnum
=
(
target_childnum
>=
0
...
...
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