[infinispan-issues] [JBoss JIRA] (ISPN-375) Enable Hot Rod clients to start transactions

Radim Vansa (JIRA) issues at jboss.org
Tue May 9 16:30:00 EDT 2017


    [ https://issues.jboss.org/browse/ISPN-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403891#comment-13403891 ] 

Radim Vansa commented on ISPN-375:
----------------------------------

Does not seem as a blocker, after 7 years not being implemented. Related: https://github.com/infinispan/infinispan-designs/pull/6

> Enable Hot Rod clients to start transactions
> --------------------------------------------
>
>                 Key: ISPN-375
>                 URL: https://issues.jboss.org/browse/ISPN-375
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Remote Protocols
>            Reporter: Galder ZamarreƱo
>            Assignee: Pedro Ruivo
>            Priority: Blocker
>              Labels: hackathon
>
> It might be useful to allow Hot Rod clients to start transactions within Hot Rod servers. The possibility of clients participating in the actual transaction, i.e. being an XAResource, should not be imposed since this might be less than trivial to achieve in non-Java environments. The alternative would be to allow clients to start Hot Rod server local transactions only.
> This would require enhancing Hot Rod spec to have some begin/commit/rollback commands that return a tx id, and for clients to be able to send this id as part of each command that should participate in the transaction.
> Pitfalls to avoid include avoiding a transaction to be propagated over several Hot Rod servers. IOW, to simplify things, if a tx is started in server A, all ops within that tx should be directed to tx. Load balancing could still happen but would need to be tx sticky.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the infinispan-issues mailing list