storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajat Gangwar <>
Subject Trident Transactional State
Date Thu, 05 Jan 2017 11:42:28 GMT

I just started working on Storm, so please forgive if my question is too
trivial. :D

This doc <>
clearly explain the intricacies needed for achieving exactly-once semantics.

But then at the end it says *"The nice thing about Trident is that it
internalizes all the fault-tolerance logic within the State – as a user you
don't have to deal with comparing txids, storing multiple values in the
database, or anything like that."*

Does that mean I don't have to store txn-id in my database along with the
data I am persisting ?
If yes, then how does Trident make sure that same row is not updated twice
when DB update happened but acknowledgement is not received ?


View raw message