Closed levb closed 2 days ago
@derekcollison @neilalexander https://app.travis-ci.com/github/nats-io/nats-server/jobs/623464530 is causing a race in raft, do you mind taking a look?
This line here is not being executed under a lock. https://github.com/nats-io/nats-server/pull/5600/files#diff-0a3d4e9b87bb3880bdb735fa489ef618b571de3370dae31d8f509b26e2fb852eR1737 when called from n.runAsLeader()
Apologies, but either I messed something up when merging/rebasing or GitHub is having issues, I will close this PR and submit a new one since there's little history here anyway.
Verifies the fix in https://github.com/nats-io/nats-server/pull/5600
When ran locally, it was using ~180MB extra for the test before, and under 40Mb after.