HBASE-22299 Documentation has incorrect default number of versions (#187)
This commit is contained in:
parent
b5a6fd14fa
commit
e39f7dc930
|
@ -1816,8 +1816,8 @@ Instead, the expired data is filtered out and is not written back to the compact
|
||||||
|
|
||||||
[[compaction.and.versions]]
|
[[compaction.and.versions]]
|
||||||
.Compaction and Versions
|
.Compaction and Versions
|
||||||
When you create a Column Family, you can specify the maximum number of versions to keep, by specifying `HColumnDescriptor.setMaxVersions(int versions)`.
|
When you create a Column Family, you can specify the maximum number of versions to keep, by specifying `ColumnFamilyDescriptorBuilder.setMaxVersions(int versions)`.
|
||||||
The default value is `3`.
|
The default value is `1`.
|
||||||
If more versions than the specified maximum exist, the excess versions are filtered out and not written back to the compacted StoreFile.
|
If more versions than the specified maximum exist, the excess versions are filtered out and not written back to the compacted StoreFile.
|
||||||
|
|
||||||
.Major Compactions Can Impact Query Results
|
.Major Compactions Can Impact Query Results
|
||||||
|
|
Loading…
Reference in New Issue