Skip to content

Commit

Permalink
HBASE-22299 Documentation has incorrect default number of versions (#187
Browse files Browse the repository at this point in the history
)
  • Loading branch information
anis016 authored and petersomogyi committed Apr 24, 2019
1 parent b5a6fd1 commit e39f7dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/asciidoc/_chapters/architecture.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
When you create a Column Family, you can specify the maximum number of versions to keep, by specifying `HColumnDescriptor.setMaxVersions(int versions)`.
The default value is `3`.
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 `1`.
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
Expand Down

0 comments on commit e39f7dc

Please sign in to comment.