Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1980

Change BlockCache from a static singleton to one per BlockManager

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
      None

      Description

      It would be useful to change BlockCache from being a static singleton to being instantiated and owned by a single FsManager or BlockManager. Right now we have a "hack" in LogBlockManager to randomize starting block IDs when we are running under GTest to avoid cache incoherency in between test runs. This causes differences in block id naming between the test environment and production, making it hard to catch certain types of problems.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mpercy Mike Percy
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: