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

Change BlockCache from a static singleton to one per BlockManager

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.1
    • None
    • fs
    • 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

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

          People

            Unassigned Unassigned
            mpercy Mike Percy

            Dates

              Created:
              Updated:

              Slack

                Issue deployment