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

Eviction/Invalidation notficiations are shown as remove in a tx cache

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 8.0.0.CR1
    • Listeners
    • None

    Description

      Currently in notifyCommitEntry of ClusterDependentLogic we do the following:

                 if (command instanceof RemoveCommand) {
                     ((RemoveCommand)command).notify(ctx, previousValue, previousMetadata, false);
                  } else {
                     notifier.notifyCacheEntryRemoved(
                           entry.getKey(), previousValue, previousMetadata, false, ctx, command);
                  }
      

      The problem is in a tx cache we don't pass along a command, since it is done in a batch. This means it always logs the notification as a removed event instead.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: