You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nats-server configured as a windows service or running as an app
jetstream folder not created (first run)
start nats-server
nats kv add foo
reboot (if service) or c nats-server and reboot (if app)
> nats kv put foo test 1
1
> nats kv put foo test 2
2
> nats kv put foo test 3
3
> nats kv put foo test 4
4
> nats kv put foo test 5
5
> nats kv put foo test 6
6
> nats kv put foo test 7
7
> nats kv put foo test 8
8
> nats kv put foo test 9
9
> nats kv put foo test 10
10
> nats kv del foo test
? Delete key foo > test? Yes
> nats kv put foo test 10
nats: error: nats: corrupt state file
>
NOTE: if you write to KV before the reboot, corruption doesn't happen. This is our work-around. Repeatable.
The text was updated successfully, but these errors were encountered:
Observed behavior
Corruption is corrected on next startup but with data loss. Restore loses values.
Expected behavior
No corruption
Server and client version
Host environment
Windows Server 2019 Standard
Windows Server 2022 Standard
Steps to reproduce
nats-server config:
nats kv add foo
NOTE: if you write to KV before the reboot, corruption doesn't happen. This is our work-around. Repeatable.
The text was updated successfully, but these errors were encountered: