Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7129

Duplicate cache names shouldn't be allowed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.CR1
    • 9.0.0.Alpha2
    • Configuration
    • None

    Description

      Multiple caches with the same name can be defined without a WARN/ERROR message.
      It's also unclear which one will be used, for example with this configuration

      <distributed-cache name="testCache"/>
      <distributed-cache name="testCache">
          <eviction max-entries="100" />
      </distributed-cache>
      <distributed-cache name="testCache"/>
      

      the cache with eviction will be used. Actually the configurations are merged...

      Attachments

        Activity

          People

            jmarkos Jakub Markos (Inactive)
            jmarkos Jakub Markos (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: