Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed HA mode #7285

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

barvius
Copy link

@barvius barvius commented Jul 30, 2024

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

@auto-assign auto-assign bot requested a review from NGPixel July 30, 2024 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants