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

Imporve logging of block tranaction in tserver's lock manager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • tablet
    • None

    Description

      When multiple client updates same row simultaneously,there will incur a high contention and degrade perfermance of tserver.The current version provides less information and makes it hard to diagnose which tablet cause high contention.

      W0511 02:05:10.302363 192070 lock_manager.cc:368] Waited 53 seconds to obtain row lock on key <redacted> cur holder: 0xfc7096c0
      

      It would be nice if includes tabletID in the logging of blocking transaction and adds a metric about lock acquisition time about each tablet.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tao min mintao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: