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

Sharding block map of LogBlockManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • fs
    • None

    Description

      I found LBM may manage a very large block map when tserver hold large scale data, metric like:

                  {
                      "name": "log_block_manager_blocks_under_management",                                                                                                                                        
                      "value": 7014790 
                  }
      

      LogBlock get/add should hold map's lock first, this is costly and will slow down statup time.

      tlipcon also mentioned in https://issues.apache.org/jira/browse/KUDU-2014.

       

      We can improve it by sharding this big map.

      Attachments

        Issue Links

          Activity

            People

              acelyc111 Yingchun Lai
              acelyc111 Yingchun Lai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: