nats-io / nats-server

High-Performance server for NATS.io, the cloud and edge native messaging system.
https://nats.io
Apache License 2.0
16k stars 1.41k forks source link

No response from server while publishing after the following error: Filestore [Stream1] loadBlock error: message block data missing #6084

Open Kareem-05 opened 2 weeks ago

Kareem-05 commented 2 weeks ago

Observed behavior

The following appears in the Nats Server logs:

[35664] 2024/11/04 12:45:11.847712 [WRN] Filestore [Stream1] loadBlock error: message block data missing [35664] 2024/11/04 13:24:55.541731 [WRN] Filestore [Stream1] WriteFullState took 38m19.991s (137235 bytes)

during that time publishing messages fail due to no response from server

Not sure what is causing the above log messages

Expected behavior

for the following error not to appear: Filestore [Stream1] loadBlock error: message block data missing

Server and client version

nats-server: v2.10.22

Host environment

No response

Steps to reproduce

Can't really reproduce it. It happens at random times after leaving the nats instance run for a long time.