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

Flaky tablet_history_gc-itest due to interleaving of concurrent client flushes

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • client, test
    • None

    Description

      It appears that tablet_history_gc-itest is flaky due to interleaving of client operations when automatic flush is enabled. The test is particularly susceptible if an async flush is triggered after each operation.

      The issue becomes more apparent when there are two updates to the same row in quick succession, and an async flush is triggered after each one. Sometimes the 2nd update is applied first on the server, then overwritten by the 1st update, even though it was applied first to the client session. This concurrency race may manifest randomly in response to thread and network timing latencies.

      Attachments

        Issue Links

        Activity

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

          People

            dralves David Alves
            mpercy Mike Percy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment