Uploaded image for project: 'Hibernate ORM'
  1. HHH-11254

Timestamps cache fails validation if eviction strategy = MANUAL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.0.11, 5.1.2, 5.2.4
    • Fix Version/s: 5.1.3, 5.2.5
    • Component/s: hibernate-infinispan
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      Infinispan 8.2.5 and 9.0.0 introduced a new MANUAL eviction strategy. This causes the validation of the timestamps cache to fail if the timestamps cache configuration uses MANUAL eviction strategy.
      org.hibernate.cache.infinispan.timestamp.TimestampTypeOverrides.validateInfinispanConfiguration(...) tests if the strategy != EvictionStrategy.NONE. It should instead test strategy.isEnabled().

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: