Problem/Motivation

#2814055: Allow modules to react to replication events has now landed, but the events are being dispatched during replication when they should be dispatched before and after replication.

Proposed resolution

Update event dispatching

Remaining tasks

User interface changes

API changes

Data model changes

Comments

timmillwood created an issue. See original summary.

timmillwood’s picture

timmillwood’s picture

Status: Active » Needs review
StatusFileSize
new6.09 KB

Initial patch

Status: Needs review » Needs work

The last submitted patch, 4: 2971926-4.patch, failed testing. View results

timmillwood’s picture

Status: Needs work » Needs review
StatusFileSize
new6.07 KB

Let's try that again.

jeqq’s picture

Status: Needs review » Needs work

I think this needs testing. Maybe we can extend ReplicatorTest with tests that will cover the new events?

axicdv’s picture

StatusFileSize
new11.16 KB
axicdv’s picture

StatusFileSize
new11.23 KB
axicdv’s picture

Status: Needs work » Needs review
l0ke’s picture

Assigned: timmillwood » Unassigned
StatusFileSize
new1.83 KB
new12.95 KB

ReplicatorTest extended with Prophecy to ensure events are dispatched properly.

jeqq’s picture

StatusFileSize
new13.31 KB
new3.4 KB

The patch looks good. I've done just some minor refactoring.

jeqq’s picture

.

  • jeqq committed 86704a3 on 8.x-1.x
    Issue #2971926 by timmillwood, jeqq, axicdv, l0ke, phenaproxima: Better...
jeqq’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.