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

RemoveExpiredCommand ignored by IRAC

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

XMLWordPrintable

      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.

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: