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

Disable Standalone Mode after migration to the Distributed Mode #707

Conversation

Eshanatnight
Copy link
Contributor

Description

Disable Standalone Mode after migration to the Distributed Mode


This PR has:

  • been tested to ensure log ingestion and log query works.
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added documentation for new or modified features or behaviors.

impl standalone/distributed check
add migration function - Eshan Chatterjee
update StorageMetadata struct
add StandaloneWithDistributed error in MetadataError
impl ToString for Mode
If the server was restarted with the same staging and in standalone mode
the app was not blocking that case
@nikhilsinhaparseable nikhilsinhaparseable merged commit 51142cb into parseablehq:distributed Mar 19, 2024
6 checks passed
@Eshanatnight Eshanatnight deleted the migration-and-standalone-disable branch March 19, 2024 17:22
@Eshanatnight Eshanatnight restored the migration-and-standalone-disable branch March 19, 2024 17:22
@Eshanatnight Eshanatnight deleted the migration-and-standalone-disable branch March 19, 2024 17:25
@Eshanatnight Eshanatnight restored the migration-and-standalone-disable branch March 19, 2024 17:25
@Eshanatnight Eshanatnight deleted the migration-and-standalone-disable branch March 19, 2024 17:25
Eshanatnight added a commit to Eshanatnight/parseable that referenced this pull request Apr 1, 2024
…eablehq#707)

* disable standalone when in distributed mode

impl standalone/distributed check
add migration function - Eshan Chatterjee
update StorageMetadata struct
add StandaloneWithDistributed error in MetadataError
impl ToString for Mode

* fix: double print of error message

* fix: logic to handle server mode if EnvChange None

If the server was restarted with the same staging and in standalone mode
the app was not blocking that case

* Refactor determine_environment function
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.

2 participants