HI, I am getting an error when set up postgres sou...
# replication-troubleshooting
s
HI, I am getting an error when set up postgres source connector like
We detected XMIN transaction wraparound in the database..
. Looks like it is introduced in this PR https://github.com/airbytehq/airbyte/pull/38836/files. I understand the concern here about
XMIN transaction wraparound
but could we consider to raise a warning message instead of throwing an error? For my case, I am just planning to sync some regular tables not those really large tables
k
I understand your concern about the XMIN transaction wraparound error. Based on the knowledge sources, I can provide some context about this issue. The [Xmin Wraparound](https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#xmin-wraparound) documentation explains that when a database experiences Xmin wraparound, the replication performance will be degraded and data that has already been synced may be resynced again. The connector checks for Xmin wraparound at setup or at the beginning of sync, and if detected, returns a config error recommending users switch to the CDC replication method. The [Xmin Limitations](https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#connector-limitations) section notes that one of the shortcomings of the Xmin replication method is "Transaction ID (XID) wraparound: the transaction ID (aka xid) is represented by a 32-bit integer and has an upper limit value of 4,294,967,295. Once this value is reached, the xid wraps around and stops increasing monotonically. At this point, the xmin column cannot be reliably used as a cursor, which can lead to resyncing data that had already been synced." While I understand your use case involves regular tables rather than large ones, the knowledge sources indicate this is treated as an error rather than a warning because the Xmin cursor becomes unreliable after wraparound, potentially causing data integrity issues regardless of table size. Recommended solution: The documentation suggests switching to the CDC (Change Data Capture) replication method when Xmin wraparound is detected, as this avoids the wraparound issue entirely. The knowledge sources do not contain information about plans to change this from an error to a warning, or about any configuration options to bypass this check. If you'd like to request this as a feature, you may want to open a GitHub issue to discuss it with the Airbyte team.