Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
titan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
titan
Commits
5c4a5ae2
Commit
5c4a5ae2
authored
Nov 21, 2019
by
pingcap-github-bot
Committed by
Connor
Nov 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert wait for flush before GC (#115)
Signed-off-by:
Yi Wu
<
yiwu@pingcap.com
>
parent
552cebf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
db_impl_gc.cc
src/db_impl_gc.cc
+0
-6
No files found.
src/db_impl_gc.cc
View file @
5c4a5ae2
...
@@ -107,12 +107,6 @@ Status TitanDBImpl::BackgroundGC(LogBuffer* log_buffer,
...
@@ -107,12 +107,6 @@ Status TitanDBImpl::BackgroundGC(LogBuffer* log_buffer,
// Nothing to do
// Nothing to do
ROCKS_LOG_BUFFER
(
log_buffer
,
"Titan GC nothing to do"
);
ROCKS_LOG_BUFFER
(
log_buffer
,
"Titan GC nothing to do"
);
}
else
{
}
else
{
{
mutex_
.
Unlock
();
auto
*
cfd
=
reinterpret_cast
<
ColumnFamilyHandleImpl
*>
(
cfh
.
get
())
->
cfd
();
db_impl_
->
WaitForFlushMemTable
(
cfd
);
mutex_
.
Lock
();
}
BlobGCJob
blob_gc_job
(
blob_gc
.
get
(),
db_
,
&
mutex_
,
db_options_
,
env_
,
BlobGCJob
blob_gc_job
(
blob_gc
.
get
(),
db_
,
&
mutex_
,
db_options_
,
env_
,
env_options_
,
blob_manager_
.
get
(),
env_options_
,
blob_manager_
.
get
(),
blob_file_set_
.
get
(),
log_buffer
,
&
shuting_down_
,
blob_file_set_
.
get
(),
log_buffer
,
&
shuting_down_
,
...
...
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