Closed githubmanticore closed 1 year ago
➤ Sergey Nikolaev commented:
Unless you're already working on this more details are required (crashlog etc.) to not forget what it's related with in future.
➤ Stan commented:
this is related to #764 the reproduction is:
type = repcolate
and binlog enabled INSERT into idx1 VALUES ('query 1')
type = rt
path = data/other_path
SIGHUP
to daemon to reload config and recreate idx1 as RT instead of PQ index SELECT * FROM idx1
show that fresh index is empty RT index SELECT * FROM idx1
show that is RT index has applied transactions from binlog stored there for PQ index, ie that is wrong however as initial issue #764 said change of index type RT to PQ back and forth should be prohibited.
after index type got changed then daemon crashed after that point on daemon restart all transaction stored at binlog to that index got replayed and that index got content that is not intended for it.