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

Hbase client API: Restore the writeToWal method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.95.0
    • 0.95.2
    • Client, Usability
    • None
    • Reviewed

    Description

      The writeToWal is used by downstream projects like Flume to disable writes to WAL to improve performance when durability is not strictly required. But renaming this method to setDurability forces us to use reflection to support hbase versions < 95 - which in turn hits performance, as this method needs to be called on every single write. I recommend adding the old method back as deprecated and removing it once hbase-95/96 becomes the popular version used in prod.

      Attachments

        1. HBASE-9093.patch
          4 kB
          Hari Shreedharan
        2. HBASE-9093.patch
          3 kB
          Hari Shreedharan
        3. HBASE-9093.patch
          3 kB
          Hari Shreedharan
        4. hbase-9093-v4.patch
          4 kB
          Jonathan Hsieh

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hshreedharan Hari Shreedharan
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: