KamoCRM

Mark payload outcomes by column, not through the entity

FixDaemonService
Ya
20 Agosti 2026, 23:19 UTC
Mwandishi
Kamo
Ahadi ya
ea99e0a

payloadRepo.save() on a detached payload makes Hibernate walk its graph — organization pulls in org_domains — and that read lands in a transaction that has already written, which YugabyteDB rejects with 40001 "Restart read required". The outcome then never persisted, the payload stayed RECEIVED, and the next run imported a lead that already existed. Roughly 1% of rows on a live 13k batch. markPayloadOutcome writes the three columns this needed and nothing else.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei