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

RemoveExpiredCommand ignored by IRAC

    XMLWordPrintable

Details

    Description

      The following code was not removed:

         @Override
         public Object visitRemoveExpiredCommand(InvocationContext ctx, RemoveExpiredCommand command) throws Throwable {
            // Expiration isn't supported yet for xsite and lifespan doesn't need to be sent across sites
            return invokeNext(ctx, command);
         }
      

      The problem is that the IRAC interceptor does not generate the metadata required. When trying to replicate to the remote site, it fails because the metadata is missing.

      Also, looking at the code, the transactional cache does not intercept this command as well. It requires some investigation.

      Note: RemoveExpiredCommand is always non-transactional.
      Note2: it looks like putForExternalRead() share the same issue.

      Attachments

        Issue Links

          Activity

            People

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: