This is an automated email from the ASF dual-hosted git repository.

psomogyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new e39f7dc  HBASE-22299 Documentation has incorrect default number of 
versions (#187)
e39f7dc is described below

commit e39f7dc9304a67686935b82d30f26155614dae5f
Author: Sayed Anisul Hoque <[email protected]>
AuthorDate: Wed Apr 24 16:16:30 2019 +0200

    HBASE-22299 Documentation has incorrect default number of versions (#187)
---
 src/main/asciidoc/_chapters/architecture.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/asciidoc/_chapters/architecture.adoc 
b/src/main/asciidoc/_chapters/architecture.adoc
index 9bdf179..2c9aabd 100644
--- a/src/main/asciidoc/_chapters/architecture.adoc
+++ b/src/main/asciidoc/_chapters/architecture.adoc
@@ -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

Reply via email to