Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-20799

hibernate-ext: "default-query-results-region" and "default-update-timestamps-region" should not be atomic

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • extensions

    Description

      Currently, Hibernate test job fails because of execution timeout [1]. After IGNITE-20579 HibernateL2CacheSelfTest fails with an error and then hangs:

      class org.apache.ignite.IgniteException: Transaction spans operations on atomic cache (don't use atomic cache inside a transaction). Since 2.15.0 atomic operations inside transactions are not allowed by default. Since 2.16.0 atomic operations inside transactions are finally forbidden.
      

      As we can see, these problem occur because of ATOMIC caches for Hibernate regions "default-query-results-region" and "default-update-timestamps-region" [2], but problem can be deeper, because these regions are used under the hood by the Hibernate itself for query and entity caching.

      Links:

      1. https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_Hibernate?mode=branches#all-projects
      2. https://github.com/apache/ignite-extensions/blob/master/modules/hibernate-ext/hibernate/src/test/java/org/apache/ignite/cache/hibernate/HibernateL2CacheSelfTest.java#L429

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shishkovilja Ilya Shishkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: