https://slingdata.io logo
I have the weirdest bug. My replications
# sling-help
d
I have the weirdest bug. My replications from a given MySQL server to MariaDB all produce this:
Copy code
fatal:
~ failure running replication (see docs @ https://docs.slingdata.io/sling-cli)
--------------------------- cdc-group:mysql:e38f5fbe8c26cbad9a694768fc6fd02a ---------------------------
~ could not get binlog event during shared read
Header &replication.EventHeader{Timestamp:0x6af60250, EventType:0x1f, ServerID:0x66d72e63, EventSize:0x1fce, LogPos:0xbe2d3, Flags:0x0}, Data "\xdd\x01\x00\x00\x00\x00\x0 [Plus a ton of binary data]
But not from that same server to DuckDB.
It worked fine for days, and out of the blue every attempt gives this.
f
hey @Dan can you share the end of the error message? after the binary blob (Err: …). Also do you have
gtid_mode=ON
?
d
, Err: table id 477: invalid table id, no corresponding table map event
And yes, I do.
f
what is the value of
_sling_state
record for the failing stream?
d
Turns out that I have issues with the state DB. I’d like to move it to a sqilte database which would be easier to manage but
SLING_STATE: SQLITE/sling
gives me
unknown database "sling"
f
try
SLING_STATE: SQLITE/main
SQLite has only the main schema
d
Yeah, that works.