The server sends and the client stores incorrect observed_transaction_data
#1212
Labels
bug
Something isn't working
observed_transaction_data
#1212
When the sync service sends
SatOpAdditionalBegin
andSatOpAdditionalCommit
ops, it includes the so-calledmove_in_ref
in their payload. The client stores additional data refs into its localseenAdditionalData
meta row, as a comma-separated list of integeres encoded into a string:electric/clients/typescript/src/satellite/process.ts
Lines 1409 to 1416 in 0115a0a
electric/clients/typescript/src/satellite/process.ts
Lines 1460 to 1470 in 0115a0a
This
seenAdditionalData
is later fetched, parsed, and included in theSatInStartReplicationReq
message'sobserved_transaction_data
field:electric/clients/typescript/src/satellite/process.ts
Lines 879 to 889 in 0115a0a
electric/clients/typescript/src/satellite/client.ts
Lines 375 to 379 in 0115a0a
When the sync service processes that message, it expects the
observed_transaction_data
field to contain a list of transaction IDs, though:electric/components/electric/lib/electric/satellite/protocol.ex
Line 1141 in 0115a0a
electric/components/electric/lib/electric/satellite/client_reconnection_info.ex
Line 320 in 0115a0a
The text was updated successfully, but these errors were encountered: