Edits on high-availability setup are not propagated to other replicas #7075
Unanswered
roobre
asked this question in
Error / Bug Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I run wiki.js on a HA setup with postgres and two replicas running on Kubernetes. I have noticed that, after editing a page, visiting it afterwards sometimes shows the unedited version. That sounds a lot like what is described here: #1419
However, I am running an up to date version (
requarks/wiki:2.5.301
) with theHA_ACTIVE
env var set totrue
, which to my understanding is what is needed for HA to work properly. However, that doesn't seem to be the case.In the logs I can see lines indicating that the HA listener has been spun up, but I can also see how editing a page (
12
in this case) does not seem to cause any reaction on the replica that didn't handle the update. If I refresh the page after an edit, I can indeed how it randomly shows the old and the new version.These are the logs for both replicas:
Replica 1
Replica 2:
Please LMK if there's anything that I'm doing wrong!
Beta Was this translation helpful? Give feedback.
All reactions