Fixed HA mode
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
Running into the same issue, would be nice to get this merged in. Is there anything I can do to help this go forward?
@NGPixel do you have any concerns for the package updates breaking other parts of Wiki.js that might hold this merge back?