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

HTable - delete(List<Delete>) doesn't use writebuffer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      I just realized that htable.delete(List<Delete>) doesn't use the writebuffer and processes the list immediately, but htable.put(List<Put>) does use the writebuffer (i.e., send when filled). Likewise, htable.delete(Delete) sends immediately.

      Out of sheer curiosity, why? With the 'batch' methods now in place, it seems like it would be consistent for 'delete' and 'put' to use the writebuffer (assuming it is expanded to hold more than Puts), whereas 'batch' methods process immediately.

      This isn't a huge issue, but it does seem a little inconsistent.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmeil Doug Meil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: