A
Size: a a a
MA
A
2021-01-21 14:39:36.310 [45462] main/101/instance1 memtx_tree.c:385 E> ER_TUPLE_FOUND: Duplicate key exists in unique index 'xxx' in space 'bla_bla_bla'
Duplicate key exists, что и в логе самого тарантула. Версия тарантула 1.7.6A
DV
VK
A
A
AK
MA
VK
IB
box.cfg {
listen = 3301,
log = '/var/log/project/tarantool.log',
replication = {'replicator:password@111.111.111.1:3301', 'replicator:password@111.111.111.2:3301'},
read_only = false
}
box.schema.user.create('replicator', { password = 'password', if_not_exists = true })
box.schema.user.grant('replicator', 'replication', nil, nil, { if_not_exists = true })
box.schema.user.create('project', { password = 'password', if_not_exists = true })
box.schema.user.grant('project', 'create,alter,drop,execute,read,write', 'universe', nil, { if_not_exists = true })DS
VG
box.cfg {
listen = 3301,
log = '/var/log/project/tarantool.log',
replication = {'replicator:password@111.111.111.1:3301', 'replicator:password@111.111.111.2:3301'},
read_only = false
}
box.schema.user.create('replicator', { password = 'password', if_not_exists = true })
box.schema.user.grant('replicator', 'replication', nil, nil, { if_not_exists = true })
box.schema.user.create('project', { password = 'password', if_not_exists = true })
box.schema.user.grant('project', 'create,alter,drop,execute,read,write', 'universe', nil, { if_not_exists = true })IB
DS
VG
VG
DS