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

Make CAS retry logic configurable

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

Details

    Description

      Make CAS retry logic configurable:

      One should be able to disable the internal CAS retry loop (when the condition is not met) and let the client choose how to do retries (so the client does not have to incur the server side random sleep of up to 100ms). Basically let the client handle all CAS retries in a manor it sees fit.

      Secondly the hardcoded sleep up to 100ms that happens when cassandra fails to meet the CAS condition should be configurable.

      • The max duration should be configurable
      • The algorithm used to choose the duration should be configurable (Random, Exponential, etc).

      Attachments

        Activity

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

          People

            Unassigned Unassigned Assign to me
            aaronjwhiteside Aaron Whiteside

            Dates

              Created:
              Updated:

              Slack

                Issue deployment