Skip to content

Replicator could produce log segments with duplicated segment numbers. #8755

@hvlad

Description

@hvlad

Steps to reproduce:

Classic Server must be used !
Prepare and configure database ready for replication (enable publishing, put corresponding record into replication.conf, etc).
There is no need to prepare replica.
Check and remember current replication sequence number, using gstat -h.

Run two isql sessions.

Let first session do nothing for a while.

In second session insert record into replicated table and commit.
Exit second session.
Current log segment should be archived at this moment.

In first session insert record into replicated table and commit.
Exit first session.
Check replication.log, it should contain message

WARNING: Destination journal file XXX exists, it will be overwritten

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions