Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2275

Make db_setup retry delay configurable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.1, 2.0.0, 1.1.1, 1.2.1
    • Ranger
    • None

    Description

      In an HA setup, Ranger Admin on both master nodes attempts to create/patch the DB and change passwords. If one of them detects contention for an operation, it sleeps and re-checks later. The length of sleep is fixed at 120 seconds

      It would be better to make this delay configurable (in seconds) so that user can adjust the delay value as per his environment.

      Attachments

        Issue Links

          Activity

            People

              pradeep Pradeep Agrawal
              pradeep Pradeep Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: