|
16 | 16 |
|
17 | 17 | ```multimaster.ignore_tables_without_pk``` Do not replicate tables withpout primary key. Boolean.
|
18 | 18 |
|
| 19 | +```multimaster.cluster_name``` Name of the cluster, desn't affect anything. Just in case. If set that mmts will check name correspondence. |
19 | 20 |
|
20 | 21 | ## Questionable
|
21 | 22 |
|
22 | 23 | (probably we will delete that variables, most of them are useful only for development purposes --stas)
|
23 | 24 |
|
24 |
| -```multimaster.cluster_name``` Name of the cluster, desn't affect anything. Just in case. |
25 |
| - |
26 | 25 | ```multimaster.min_2pc_timeout``` Minimal timeout between receiving PREPARED message from nodes participated in transaction to coordinator (milliseconds). Default = 2000, /* 2 seconds */.
|
27 | 26 |
|
28 | 27 | ```multimaster.max_2pc_ratio``` Maximal ratio (in percents) between prepare time at different nodes: if T is time of preparing transaction at some node, then transaction can be aborted if prepared responce was not received in T*MtmMax2PCRatio/100. default = 200, /* 2 times */
|
29 | 28 |
|
30 | 29 | ```multimaster.queue_size``` Multimaster queue size. default = 256*1024*1024,
|
31 | 30 |
|
| 31 | +```multimaster.trans_spill_threshold``` Maximal size (Mb) of transaction after which transaction is written to the disk. Default = 1000, /* 1Gb */ (istm reorderbuffer also can do that, isn't it?) |
| 32 | + |
32 | 33 | ```multimaster.vacuum_delay``` Minimal age of records which can be vacuumed (seconds). default = 1.
|
33 | 34 |
|
34 | 35 | ```multimaster.worker``` Number of multimaster executor workers. Default = 8. (use dynamic workers with some timeout to die?)
|
35 | 36 |
|
36 | 37 | ```multimaster.max_worker``` Maximal number of multimaster dynamic executor workers. (set this to max_conn?) Default = 100.
|
37 | 38 |
|
38 |
| -```multimaster.gc_period``` Number of distributed transactions after which garbage collection is started. Multimaster is building xid->csn hash map which has to be cleaned to avoid hash overflow. This parameter specifies interval of invoking garbage collector for this map. default = MTM_HASH_SIZE/10 |
| 39 | +```multimaster.gc_period``` Number of distributed transactions after which garbage collection is started. Multimaster is building xid->csn hash map which has to be cleaned to avoid hash overflow. This parameter specifies interval of invoking garbage collector for this map. default = MTM_HASH_SIZE/10 |
39 | 40 |
|
40 | 41 | ```multimaster.max_node``` Maximal number of cluster nodes. This parameters allows to add new nodes to the cluster, default value 0 restricts number of nodes to one specified in multimaster.conn_strings (May be just set that to 64 and allow user to add node when trey need without restart?) default = 0
|
41 | 42 |
|
42 |
| -```multimaster.trans_spill_threshold``` Maximal size (Mb) of transaction after which transaction is written to the disk. Default = 1000, /* 1Gb */ (istm reorderbuffer also can do that, isn't it?) |
43 |
| - |
44 | 43 | ```multimaster.node_disable_delay``` Minimal amount of time (msec) between node status change. This delay is used to avoid false detection of node failure and to prevent blinking of node status node. default = 2000. (We can just increase heartbeat_recv_timeout)
|
45 | 44 |
|
46 | 45 | ```multimaster.connect_timeout``` Multimaster nodes connect timeout. Interval in milliseconds for establishing connection with cluster node. default = 10000, /* 10 seconds */
|
|
0 commit comments