Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow script server to be told when the main database when offline or in recovery #4899

Closed
bmfmancini opened this issue Aug 19, 2022 · 1 comment
Labels
enhancement General tag for an enhancement resolved A fixed issue
Milestone

Comments

@bmfmancini
Copy link
Member

Currently, the script server is set up to accept just one option ( Spine)

It would be good to pass the Poller status to script server to adjust timeouts
currently, since only spine is passed the script server is not aware if the remote poller is in an offline state
so the script server attempts to connect to the primary poller which slows down the scripts server causing timeouts

@bmfmancini bmfmancini added the enhancement General tag for an enhancement label Aug 19, 2022
@TheWitness TheWitness added this to the v1.2.23 milestone Aug 21, 2022
@TheWitness
Copy link
Member

There will also be a corresponding spine change for this.

@TheWitness TheWitness changed the title [feature request] - Pass poller status to script_server Pass poller status to script_server to avoid connecting to the main database when offline or in recovery Aug 21, 2022
TheWitness added a commit that referenced this issue Aug 21, 2022
* feature#4899: Pass poller status to script_server to avoid connecting to the main database when offline or in recovery
* feature#4901: Make the script server accept arguments in the standard way
* force error reporting off to prevent issues with output processing
@TheWitness TheWitness added the resolved A fixed issue label Aug 21, 2022
TheWitness added a commit that referenced this issue Aug 21, 2022
Some function calls have to come later.
@github-actions github-actions bot locked and limited conversation to collaborators Nov 28, 2022
@netniV netniV changed the title Pass poller status to script_server to avoid connecting to the main database when offline or in recovery Allow script server to be told when the main database when offline or in recovery Dec 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement General tag for an enhancement resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants