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
c4c6e5a1
Commit
c4c6e5a1
authored
Nov 09, 2010
by
Zardosht Kasheff
Committed by
Yoni Fogel
Apr 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[t:2892], undo bad checkin
git-svn-id:
file:///svn/toku/tokudb@25393
c7de825b-a66e-492c-adef-691d508d4ae1
parent
58d4a8d1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
newbrt/dbufio.c
newbrt/dbufio.c
+1
-1
newbrt/logger.c
newbrt/logger.c
+2
-2
newbrt/threadpool.c
newbrt/threadpool.c
+0
-2
newbrt/ule.c
newbrt/ule.c
+5
-2
No files found.
newbrt/dbufio.c
View file @
c4c6e5a1
...
...
@@ -378,7 +378,7 @@ dbufio_print(DBUFIO_FILESET bfs) {
fprintf
(
stderr
,
"%s:%d bfs=%p"
,
__FILE__
,
__LINE__
,
bfs
);
if
(
bfs
->
panic
)
fprintf
(
stderr
,
" panic=%d"
,
bfs
->
panic_errno
);
//
fprintf(stderr, " N=%d %d %"PRIuMAX, bfs->N, bfs->n_not_done, bfs->bufsize);
fprintf
(
stderr
,
" N=%d %d %"
PRIuMAX
,
bfs
->
N
,
bfs
->
n_not_done
,
bfs
->
bufsize
);
for
(
int
i
=
0
;
i
<
bfs
->
N
;
i
++
)
{
struct
dbufio_file
*
dbf
=
&
bfs
->
files
[
i
];
if
(
dbf
->
error_code
[
0
]
||
dbf
->
error_code
[
1
])
...
...
newbrt/logger.c
View file @
c4c6e5a1
...
...
@@ -775,13 +775,13 @@ int toku_logger_maybe_fsync (TOKULOGGER logger, LSN lsn, int do_fsync)
write_outbuf_to_logfile
(
logger
,
&
fsynced_lsn
);
if
(
fsynced_lsn
.
lsn
<
lsn
.
lsn
)
{
// it may have gotten fsynced by the write_outbuf_to_logfile.
//
toku_add_trace_mem("fsync", __LINE__);
toku_add_trace_mem
(
"fsync"
,
__LINE__
);
r
=
toku_file_fsync_without_accounting
(
logger
->
fd
);
if
(
r
!=
0
)
{
toku_logger_panic
(
logger
,
r
);
return
r
;
}
//
toku_add_trace_mem("fsyncdone", __LINE__);
toku_add_trace_mem
(
"fsyncdone"
,
__LINE__
);
assert
(
fsynced_lsn
.
lsn
<=
logger
->
written_lsn
.
lsn
);
fsynced_lsn
=
logger
->
written_lsn
;
}
...
...
newbrt/threadpool.c
View file @
c4c6e5a1
...
...
@@ -188,8 +188,6 @@ toku_thread_pool_add(struct toku_thread_pool *pool) {
return
r
;
}
#define EWOULDBLOCK 10101
// get one thread from the free pool.
static
int
toku_thread_pool_get_one
(
struct
toku_thread_pool
*
pool
,
int
dowait
,
struct
toku_thread
**
toku_thread_return
)
{
...
...
newbrt/ule.c
View file @
c4c6e5a1
...
...
@@ -1798,9 +1798,9 @@ le_iterate_is_empty(LEAFENTRY le, LE_ITERATE_CALLBACK f, BOOL *is_emptyp, TOKUTX
}
//
// Iterates over
TXNIDs relevant for MVCC read
s in a leafentry's stack, until one is accepted by 'f'. Set
// Iterates over
"possible" TXNID
s in a leafentry's stack, until one is accepted by 'f'. Set
// valpp and vallenp to value and length associated with accepted TXNID
// The
relevant
TXNIDs are:
// The
"possible"
TXNIDs are:
// if provisionals exist, then the first possible TXNID is the outermost provisional.
// The next possible TXNIDs are the committed TXNIDs, from most recently committed to T_0.
// If provisionals exist, and the outermost provisional is accepted by 'f',
...
...
@@ -2019,6 +2019,7 @@ bool transaction_open(TXNID xid) {
#endif
#if BRT_LAYOUT_MIN_SUPPORTED_VERSION <= BRT_LAYOUT_VERSION_12
#if TOKU_WINDOWS
#pragma pack(push, 1)
#endif
...
...
@@ -2215,3 +2216,5 @@ toku_le_upgrade_12_13(LEAFENTRY_12 old_leafentry,
return
rval
;
}
#endif
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