Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5565

Unify index update structures in IndexRegionObserver and IndexCommitter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.0
    • 4.15.0, 5.1.0
    • None
    • None

    Description

      The index updates are represented by a Collection<Pair<Mutation, byte[]>> where the byte[] member of the pair is the name of the index table. However, this map is then translated to a Multimap<HTableInterfaceReference, Mutation> when it is passed to an IndexCommitter. The code in IndexRegionObserver gets simplified and becomes more efficient in cpu utilization if IndexRegionObserver also uses a Multimap<HTableInterfaceReference, Mutation> structure to represent index updates. 

      Attachments

        1. PHOENIX-5565.master.002.patch
          19 kB
          Kadir OZDEMIR
        2. PHOENIX-5565.master.001.patch
          19 kB
          Kadir OZDEMIR

        Issue Links

          Activity

            People

              kozdemir Kadir OZDEMIR
              kozdemir Kadir OZDEMIR
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h