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

EntryWrappingInterceptor computes location twice on backup owners

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 9.0.0.Alpha3
    • 9.0.0.Alpha2, 8.2.2.Final
    • Core
    • None

    Description

      cdl.localNodeIsPrimaryOwner(key) || (cdl.localNodeIsOwner(key) && !ctx.isOriginLocal()) computes the owner twice. In replicated mode, the localNodeIsOwner() is cheaper, so it's better to call localNodeIsPrimaryOwner() only on the originator.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: