Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Resync schema on other nodes after adding a column #1

Open
marcocitus opened this issue Oct 10, 2017 · 0 comments
Open

Resync schema on other nodes after adding a column #1

marcocitus opened this issue Oct 10, 2017 · 0 comments

Comments

@marcocitus
Copy link
Member

Podyn can be set up on multiple nodes for scaling out or fault tolerance. However, this currently only supported in jsonb mode. In columns mode, nodes may independently decide to add a column and the second node would fail to do so because the column already exists.

To fix this, nodes should get the current schema from postgres if adding a column fails and then continue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant