linkedin / linkedin/databus

AssertionError [ERR_ASSERTION]: Mismatched currentTxId

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.7k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

AssertionError [ERR_ASSERTION]: Mismatched currentTxId
at PostgresLogicalReceiver.lineHandler (/usr/local/lib/node_modules/lapidus/src/postgresql.js:453:20)
at DestroyableTransform. (/usr/local/lib/node_modules/lapidus/src/postgresql.js:599:22)
at DestroyableTransform.emit (events.js:182:13)
at DestroyableTransform. (/usr/local/lib/node_modules/lapidus/node_modules/readable-stream/lib/_stream_readable.js:786:14)
at DestroyableTransform.emit (events.js:182:13)
at emitReadable_ (/usr/local/lib/node_modules/lapidus/node_modules/readable-stream/lib/_stream_readable.js:448:10)
at emitReadable (/usr/local/lib/node_modules/lapidus/node_modules/readable-stream/lib/_stream_readable.js:444:5)
at readableAddChunk (/usr/local/lib/node_modules/lapidus/node_modules/readable-stream/lib/_stream_readable.js:187:9)
at DestroyableTransform.Readable.push (/usr/local/lib/node_modules/lapidus/node_modules/readable-stream/lib/_stream_readable.js:149:10)
at DestroyableTransform.Transform.push (/usr/local/lib/node_modules/lapidus/node_modules/readable-stream/lib/_stream_transform.js:145:32)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the stack trace location in lapidus/src/postgresql.js at line 453, then inspect the surrounding lineHandler flow and the call site near line 599. Reproduce the Mismatched currentTxId assertion with the PostgreSQL logical receiver; done requires identifying the transaction-ID mismatch and verifying the receiver no longer asserts incorrectly.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, postgresql
Domain
data-engineering, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.