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

Make tracking of max allowed number of mutations bytes based instead of row based

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.11.0
    • None
    • None

    Description

      Some remaining work related to PHOENIX-541 to track the byte-size of all mutations being buffered instead of the number of rows:

      • Make similar changes QueryServices.MAX_MUTATION_SIZE_ATTRIB - making it byte-based instead of row-count-based. Usage of this config parameter would be isolated to MutationState, I believe. We should be able to come up with an accurate size based on the underlying Mutation and/or Delete info we store in PRowImpl.
      • Have a reasonable (smaller) default for the new QueryServices.MAX_MUTATION_SIZE_BYTES_ATTRIB
        This is essentially a guard on the memory usage. It could potentially leverage our MemoryManager.

      Attachments

        1. PHOENIX-3612.patch
          52 kB
          Thomas D'Silva
        2. PHOENIX-3612-v2-master.patch
          55 kB
          Thomas D'Silva

        Activity

          People

            tdsilva Thomas D'Silva
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: