Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5704 Enhancements for Functional Map API
  3. ISPN-5806

Add transaction support for Functional API

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Final
    • None
    • None
    • None

      A local cache with batching enabled produces this:

      java.lang.IllegalArgumentException: Cannot create a transactional
      context without a valid Transaction instance.
      at org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:69)
      at org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:63)
      at org.infinispan.functional.impl.ReadWriteMapImpl.eval(ReadWriteMapImpl.java:56)
      at org.infinispan.lucene.impl.FileListOperations.addFileName(FileListOperations.java:60)
      (<-- experimental uncommitted code here)
      

      For single operations that carry no transaction context, don't try to start a transaction and create a transactional context.

              rvansa1@redhat.com Radim Vansa (Inactive)
              rh-ee-galder Galder ZamarreƱo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: