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
c20e2e0e
Commit
c20e2e0e
authored
Jun 19, 2019
by
Connor
Committed by
yiwu-arbug
Jun 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make some configs from float to double (#25)
Signed-off-by:
Connor1996
<
zbk602423539@gmail.com
>
parent
424cf726
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
options.h
include/titan/options.h
+4
-4
No files found.
include/titan/options.h
View file @
c20e2e0e
...
...
@@ -93,12 +93,12 @@ struct TitanCFOptions : public ColumnFamilyOptions {
// The ratio of how much discardable size of a blob file can be GC.
//
// Default: 0.5
float
blob_file_discardable_ratio
{
0
.
5
};
double
blob_file_discardable_ratio
{
0
.
5
};
// The ratio of how much size of a blob file need to be sample before GC.
//
// Default: 0.1
float
sample_file_size_ratio
{
0
.
1
};
double
sample_file_size_ratio
{
0
.
1
};
// The blob file size less than this option will be mark GC.
//
...
...
@@ -150,9 +150,9 @@ struct ImmutableTitanCFOptions {
uint64_t
min_gc_batch_size
;
float
blob_file_discardable_ratio
;
double
blob_file_discardable_ratio
;
float
sample_file_size_ratio
;
double
sample_file_size_ratio
;
uint64_t
merge_small_file_threshold
;
};
...
...
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