Skip to content

Add preference to choose snapshot restore policy: sync or async - #3997

Open
georgweiss wants to merge 2 commits into
masterfrom
CSSTUDIO-3815
Open

georgweiss wants to merge 2 commits into
masterfrom
CSSTUDIO-3815

Conversation

@georgweiss

Copy link
Copy Markdown
Collaborator

Restoring a snapshot over channel access may trigger deadlocks in the JCA lib when writing in a asynchronous/threaded manner. Performing the write operations synchronously seems to be a workaround.

This PR adds a preference org.phoebus.saveandrestore.util/restorePolicy=<ASYNCHRONOUS|SYNCHRONOUS>controlling the restore execution. Default is ASYNCHRONOUS.

  • Testing:

    • The feature has automated tests
    • Tests were run
    • If not, explain how you tested your changes
  • Documentation:

    • The feature is documented
    • The documentation is up to date
    • Release notes:
      • Added an entry if the change is breaking or significant
      • Added an entry when adding a new feature

@georgweiss
georgweiss requested a review from shroffk October 29, 2026 14:30
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant