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

Start defined caches in a determinstic order

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 14.0.0.Final
    • 13.0.10.Final
    • Server
    • None

      The statically defined caches are started in a non deterministic order. We should make it so they are started in the same order every time for easier debugging.

      Another reason to have a deterministic start is so we can start internal caches first before user defined caches. This prevents possible issues where a user cache may start an internal cache.

      The simplest way to do this is probably just to start caches in String comparator order. Our internal caches start with "__" which would before any a-zA-Z0-9 caches which are the most heavily used for the first character of a cache.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: