Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-14509

AsyncOneResponse uses the incorrect timeout

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha1, 4.0
    • Legacy/Core
    • None
    • Normal

    Description

      AsyncOneResponse has a bug where it uses the initial timeout value instead of the adjustedTimeout. Combined with passing in the wrong TimeUnit, it leads to a shorter timeout than expected. This can have unintended consequences for example, in StorageService::sendReplicationNotification instead of waiting 10 seconds (request_timeout_in_ms), we wait for 10000 Nano Seconds.

      Attachments

        Issue Links

        Activity

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

          People

            djoshi Dinesh Joshi Assign to me
            djoshi Dinesh Joshi
            Dinesh Joshi
            Marcus Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment