File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,9 @@ Add node with given libpq connstring to the cluster. Node is assigned unique
90
90
id. If node previously contained shardman state from old cluster (not one
91
91
managed by current shardlord), this state will be lost.
92
92
93
+ my_id()
94
+ Get this node's id.
95
+
93
96
rm_node(node_id int)
94
97
Remove node from the cluster. Its shardman state will be reset. We don't delete
95
98
tables with data and foreign tables though.
@@ -178,7 +181,13 @@ Note on permissions: since creating subscription requires superuser priviliges,
178
181
connections strings provided to add_node, as well as shardlord_connstring GUC
179
182
must be of superuser ones. This might be relaxed in the future.
180
183
184
+ About transactions: in short, currently they are none of them. Local changes are
185
+ handled by PostgreSQL as usual -- so if you queries touch only only node, you
186
+ are safe, but distributed transaction are not yet implemented.
187
+
181
188
Limitations:
189
+ * You can't currently use synchronous replication (sync_standby_names) with
190
+ pg_shardman.
182
191
* We are bound to Linux since we use epoll, select should be added.
183
192
* We can't switch shardlord for now.
184
193
* The shardlord itself can't be worker node for now.
You can’t perform that action at this time.
0 commit comments