这是indexloc提供的服务,不要输入任何密码
Skip to content

nats-streaming-cluster pod was not able to restore the snapshot #1182

@pycaster

Description

@pycaster

We have a 3-node nats-streaming cluster setup with a FILE backend with a separate nats pod. The entire setup is TLS backed.

- args:
          - --cluster_id=nats-streaming
          - -m=8222
          - -store=FILE
          - --dir=/nats-datastore
          - --max_age=86400s
          - -sc=/nats/nats-streaming.conf

We have a failure scenario where one of the cluster node is failing to restore messages from the snapshot. I have attached logs from all 3 pods. This has happened only once in many setups we have tried till date in staging environment.

restore-failure.txt

We do not know how the cluster got into this situation. Next steps I am looking for is in this order,

  1. Reasoning on how cluster could have ended up in this situation and how do we interpret logs (attached)?
  2. How to successfully restore from here?

Please advice. I can provide you with much information you would need on the environment to help investigate this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions