Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-4605

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

              Assignee:
              pruivo@redhat.com Pedro Ruivo
              Reporter:
              pruivo@redhat.com Pedro Ruivo
              Tester:
              Diego Lovison Diego Lovison
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: