You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Important: Open the dump.sql file (with a text editor) and ensure that in the following lines (~line 560-565), VALUES are set to ('0', '0'). If not, set them to ('0', '0') and save the file.
LOCK TABLES p2p_params WRITE;
/!40000 ALTER TABLE p2p_params DISABLE KEYS */;
INSERT INTO p2p_params (value, server_id) VALUES (0, '0');
/!40000 ALTER TABLE p2p_params ENABLE KEYS */;
UNLOCK TABLES;
However, this does not reflect my dump.sql. In mine these lines begin on 667 and the insert statement is different:
LOCK TABLES p2p_params WRITE;
/!40000 ALTER TABLE p2p_params DISABLE KEYS */;
INSERT INTO p2p_params VALUES (45,'059F07CF0F51D03D365F11662054F20C');
/!40000 ALTER TABLE p2p_params ENABLE KEYS */;
UNLOCK TABLES;
The text was updated successfully, but these errors were encountered:
Hmm, i updated the wikipage and wrote: "it should looks like:"
LOCK TABLES p2p_params WRITE;
/*!40000 ALTER TABLE p2p_params DISABLE KEYS /;
INSERT INTO p2p_params (value, server_id) VALUES (0, '0');
/!40000 ALTER TABLE p2p_params ENABLE KEYS */;
UNLOCK TABLES;
This table contains the server id and a counter. In DSMW, each server has a unique ID and increment a counter each time an operation is produced. It ensures that each operation in DSMW is globally unique.
The dump.sql simulates a fresh install of DSMW and (0,0) indicates an uninitialized DSMW instance. When starting, DSMW will choose one for each instance. If not, we will obtain 3 servers with same id and get strange behavior during tests.
I am using the same versions of MW/SMW/DSMW as instructed. https://github.com/momo54/DSMW/wiki/testing states:
Important: Open the dump.sql file (with a text editor) and ensure that in the following lines (~line 560-565), VALUES are set to ('0', '0'). If not, set them to ('0', '0') and save the file.
LOCK TABLES
p2p_params
WRITE;/!40000 ALTER TABLE
p2p_params
DISABLE KEYS */;INSERT INTO
p2p_params
(value
,server_id
) VALUES (0, '0');/!40000 ALTER TABLE
p2p_params
ENABLE KEYS */;UNLOCK TABLES;
However, this does not reflect my dump.sql. In mine these lines begin on 667 and the insert statement is different:
LOCK TABLES
p2p_params
WRITE;/!40000 ALTER TABLE
p2p_params
DISABLE KEYS */;INSERT INTO
p2p_params
VALUES (45,'059F07CF0F51D03D365F11662054F20C');/!40000 ALTER TABLE
p2p_params
ENABLE KEYS */;UNLOCK TABLES;
The text was updated successfully, but these errors were encountered: