Expensify / Bedrock

Rock solid distributed database specializing in active/active automatic failover and WAN replication
https://bedrockdb.com
GNU Lesser General Public License v3.0
1.08k stars 82 forks source link

Show leader version when reporting mismatch in /status/handlingCommands #1779

Closed rafecolton closed 2 months ago

rafecolton commented 2 months ago

Details

We are currently seeing a node running in a detached state. It is reporting a 500 error version mismatch in response to /status/handlingCommands but the version printed out there and in /status exactly matches leader. So likely, it is unable to load _leaderVersion. This adds the leader version to the output so we can verify the bug.

Fixed Issues

N/A, discussion from here

Tests

Not sure how to reproduce on dev, open to suggestions


Internal Testing Reminder: when changing bedrock, please compile auth against your new changes