Shawyeok commented on issue #4812:
URL: https://github.com/apache/bookkeeper/issues/4812#issuecomment-4598357773

   ## Reproduction scripts
   
   A self-contained Docker-based reproduction is available as a Gist:
   https://gist.github.com/Shawyeok/a7fc47ee358575b607799db192cf5dde
   
   Files:
   - **`scenario3-pulsar4.sh`** — orchestration script (bootstraps ZK + 3 
bookies, runs the client, decommissions and replaces bookies, signals the 
client to write entry-1)
   - **`LedgerScenario.java`** — the BookKeeper client (opens ledger 
E=2/WQ=2/AQ=2, writes entry-0, waits for `/tmp/proceed`, then writes entry-1 
and closes in separate try-catch blocks)
   
   **Prerequisites:** Docker with `apachepulsar/pulsar:4.0.10` image available.
   
   **Run:**
   ```bash
   bash scenario3-pulsar4.sh
   ```
   
   The final summary lines show the result:
   ```
   addEntry result : [client] entry-1 id=1  LAC=1
   lh.close result : [client] ERROR lh.close(): BKMetadataVersionException: Bad 
ledger metadata version
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to