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

LBM - possible data directory sync race

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.0
    • None
    • tablet
    • None

    Description

      Inspecting the LBM code, it became apparent that there is a potential race when multiple threads are sync-ing the same dirty data directory in LogBlockManager::SyncContainer. The issue is that when two threads race to sync the same dirty directory, one of them will 'win', and start syncing the directory. The other will 'lose', and immediately return early, and assume the directory sync is complete (which may or may not be the case). After discussing with haohao and adar we think it's mostly benign do to the way the LBM is used, but still probably worth fixing.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danburkert Dan Burkert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: