Yes JDBC state has the same problem that I found in HDFS state recently. It is
ignoring the commits.
https://github.com/apache/storm/blob/master/external/storm-jdbc/src/main/java/org/apache/storm/jdbc/trident/state/JdbcState.java#L114-L122
Please file a JIRA to update JdbcState to make it transactional. Depending on
the size of the transactions we probably should just use the database's build
in transactions.
- Bobby
On Tuesday, August 11, 2015 8:57 PM, ght230 <[email protected]> wrote:
Hello :
I had a problem during using the module storm/external/storm-jdbc,
the class JdbcState in this module does not seem to distinguish between opaque
transactional state, transactional state, and non-transactional state, how can
it implement the transaction executed only once?
This function is forgotten, or any other reason?
Thanks!
iceguo