Hi,
Am Mi., 8. Apr. 2020 um 14:11 Uhr schrieb Jiri Pechanec
<
jiri.p...@gmail.com>:
>
> Hi,
>
> what is important to stop all writes to the database as well. Then you shoul re-create replication slot.
I suppose that'd be kinda given implicitly when upgrading the database server?
>
> IMHO the easiest approach is deleting the connector and its offsets and recreate it with snapshot mode set to never. Then the connector should resume from the replication slot LSN.
+1, that'd be easiest when having a phase without any writes. It's
important to set up the new connector + slot before resuming with
writes.
>
> The more complicated but still workable is editing the offsets and changing the LSN to the value of rpelication slot.
Maybe nothing at all is even needed, in case the server keeps the slot
state across the server update.
@Takao, I'd definitely recommend you try this out in a testing
environment first. Would love to hear back from you on any insights
you may gain doing this, would surely be good material to add to the
documentation.
--Gunnar
> --
> You received this message because you are subscribed to the Google Groups "debezium" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
debezium+u...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/debezium/1240fa6d-189b-4660-8f85-cc4d1863794c%40googlegroups.com.