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

AdvancedCache.getGroup(key) may return incomplete results during state transfer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 9.4.18.Final, 10.1.2.Final, 11.0.0.Alpha1
    • Core
    • None

      AdvancedCache.getGroup(groupKey) returns all the keys that belong to a group.

      If the originator is not an owner, the command is forwarded to the primary owner. If the originator is a primary or a backup owner for the group key, the command is executed locally.

      During state transfer, a node may be a write owner for the group key but not a read owner. Currently GroupingInterceptor uses LocalizedCacheTopogy.isWriteOwner(groupKey) instead of isReadOwner(groupKey), so it executes the command on the originator instead of forwarding it to the primary owner.

            Unassigned Unassigned
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: