Skip to content

[Bug] Failed to open ledger caused by org.apache.pulsar.broker.service.schema.exceptions.SchemaException: Error while recovering  #17630

@casuallc

Description

@casuallc

Search before asking

  • I searched in the issues and found nothing similar.

Version

OS: Linux
Pulsar: 2.9.3

Minimal reproduce step

  1. Create cluster with three nodes.
  2. Create namesapce ns01.
  3. Set persistence to 2:2:2.
  4. Create topic topic01.
  5. Start test client to send 10 messages, set schema to String.
  6. Find schema ledger stored node in zk.
  7. Stop a bookkeeper node.
  8. Start test client again.

What did you expect to see?

Test client send message successful.

What did you see instead?

Received error from server: org.apache.pulsar.broker.service.schema.exceptions.SchemaException: Error while recovering ledger -  ledger=42 - operation=Failed to open ledger caused by org.apache.pulsar.broker.service.schema.exceptions.SchemaException: Error while recovering ledger -  ledger=42 - operation=Failed to open ledger

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Staletype/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions