Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Wellbore Domain Services Wellbore Domain Services
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe Software
  • Platform
  • Domain Data Mgmt Services
  • Wellbore
  • Wellbore Domain ServicesWellbore Domain Services
  • Merge requests
  • !67

add backoff on search and storage client

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Yannick requested to merge feature-backoff into master Apr 12, 2021
  • Overview 0
  • Commits 2
  • Pipelines 6
  • Changes 6

Adding backoff strat to retry on some specific error on search and storage client. It will retry on few cases for now, already identified (basically connection failure). It used exponential wait strategy. The number of max_tries and max_wait_times are configurable through env variable. Default are respectively 4 and 5 seconds. The factor and base wait are fixed and set to 1 and 0.5 second.

There's one handler so far to trace the error in case of backoff.

Note: this MR also contains a trace added around the 'write bulk', used during investigation which appeared quite useful.

Edited Apr 13, 2021 by Yannick
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature-backoff