wiki icon indicating copy to clipboard operation
wiki copied to clipboard

Fixed HA mode

Open barvius opened this issue 1 year ago • 2 comments

Hi I'm using Wiki-js in several instances ( in HA mode ) and I've encountered a problem with the lack of caching synchronization between instances.

The problem is in the use of the pg-pubsub library version 0.5.0 ( im using postgresql 14, the problem of the library's functionality on version 0.5.0 can be reproduce in the basic example from NPM ). The solution to the problem can be to update the pg-pubsub dependency to version 0.8.1.

I use this patched configuration on 3 Wiki-js instances in k8s cluster ( pg 14, patroni cluster ).

The patch I applied: yarn add [email protected] --mode update-lockfile

Link to similar issues: HA not working properly #3274 Cache Issue with Wiki.js multiple instances in Kubernetes #2668 HA database notifications not working #3509

barvius avatar Jul 30 '24 22:07 barvius

Running into the same issue, would be nice to get this merged in. Is there anything I can do to help this go forward?

baskoopmans avatar Jan 16 '25 14:01 baskoopmans

@NGPixel do you have any concerns for the package updates breaking other parts of Wiki.js that might hold this merge back?

baskoopmans avatar Sep 04 '25 19:09 baskoopmans