Skip to content

Call to /status to ensure it is valid rqlite node #59

Description

@invisal

If you can, I would perform an explicit "network test connect" call first. Call /status, and ensure you get 200 back. That way you can be sure you're talking to an rqlite node.

Actually it just calls the URL and looks for X-Rqlite-Version has a HTTP header in the response.

Reference:
https://github.com/rqlite/rqlite/blob/master/cmd/rqlite/main.go#L101

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions