Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0894b10

Browse files
committed
More renames master -> lord
1 parent 94818e2 commit 0894b10

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

readme.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ Both shardlord and workers require extension built and installed. We depend
2020
on pg_pathman extension so it must be installed too.
2121
PostgreSQL location for building is derived from pg_config, you can also specify
2222
path to it in PG_CONFIG var. PostgreSQL 10 (master branch as of writing this)
23-
is required. The whole process is of building and copying files to PG server
24-
is just:
23+
is required. The whole process is of building and copying files to PG server is just:
2524

2625
git clone
2726
cd pg_shardman
@@ -35,7 +34,7 @@ create extension pg_shardman cascade;
3534
Have a look at postgresql.conf.common.template and postgresql.conf.lord.template
3635
example configuration files. The former contains all shardman's and important
3736
PostgreSQL GUCs for either shardlord and workers, the latter for shardlord only
38-
-- in particular, shardman.master defines whether the instance is shardlord or
37+
-- in particular, shardman.shardlord defines whether the instance is shardlord or
3938
not.
4039

4140
Immediately after starting the server with shardman library preloaded, but
@@ -99,11 +98,11 @@ CREATE TABLE nodes (
9998
id serial PRIMARY KEY,
10099
connstring text NOT NULL UNIQUE,
101100
worker_status worker_node_status,
102-
-- While currently we don't support master and worker roles on one node,
103-
-- potentially node can be either worker, master or both, so we need 2 bits.
101+
-- While currently we don't support lord and worker roles on one node,
102+
-- potentially node can be either worker, lord or both, so we need 2 bits.
104103
-- One bool with NULL might be fine, but it seems a bit counter-intuitive.
105104
worker bool NOT NULL DEFAULT true,
106-
master bool NOT NULL DEFAULT false,
105+
lord bool NOT NULL DEFAULT false,
107106
-- cmd by which node was added
108107
added_by bigint REFERENCES shardman.cmd_log(id)
109108
);

0 commit comments

Comments
 (0)