Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3730

DEFAULT_VERSIONS should be 1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      The current DEFAULT_VERSIONS (in HColumnDescriptor) is 3, but there is no particular reason for this. Many uses require only 1, and having a default that is different makes people confused (e.g., "Do I need multiple versions to support deletes properly?").

      Reasonable values for the default are 1 and max int. 1 is the better choice.

      Discussion on the mailing list suggests that the current value of 3 may have been derived from an example in the Bigtable paper. The example does not suggest that there is anything special about 3, it's just an illustration.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jpallas Joe Pallas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: