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

HTable#put improvements

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.95.0, 0.95.2
    • 0.94.7, 0.95.0, 0.95.2
    • Client
    • None
    • Reviewed

    Description

      3 points:

      • When doing a single put, we're creating an object by calling Arrays.asList
      • we're doing a size check every 10 put. Not doing it seems simpler, better and allows to share some code between a single put and a list of puts.
      • we could call flushCommits on empty write buffer, especially for someone using a lot of HTable instead of using a pool, as it's called in close().

      Attachments

        1. 8128.v1.patch
          3 kB
          Nicolas Liochon

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nkeywal Nicolas Liochon
            nkeywal Nicolas Liochon
            Votes:
            0 Vote for this issue
            Watchers:
            7 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment