code: public void afterTypeDiscovery(@Observes AfterTypeDiscovery atd) {
          if (ConfigProvider.getConfig().getOptionalValue(shuffleInterceptorsPropertyName, Boolean.class).orElse(false)) {
  
              /* Run along the list of interceptors and find the indices of the first @Transactional one and the Fault Tolerance one */
              int faultToleranceInterceptorIndex = -1;
              int transactionalInterceptorIndex = -1;
              int interceptorIndex = 0;
              for (Iterator<Class<?>> iterator = atd.getInterceptors().iterator(); iterator.hasNext()
                                                                                   && !(faultToleranceInterceptorIndex >= 0 && transactionalInterceptorIndex >= 0);) {
                  Class<?> i = iterator.next();
                  if (FaultToleranceInterceptor.class.equals(i)) {
                      /* Found the Fault Tolerance interceptor */
                      faultToleranceInterceptorIndex = interceptorIndex;
                  } else if (transactionalInterceptorIndex < 0) {
                      if (TransactionalInterceptor.class.isAssignableFrom(i)) {
                          /* Found the first @Transactional interceptor */
                          transactionalInterceptorIndex = interceptorIndex;
                      }
                  }
                  interceptorIndex++;
              }
  
              /* If we found both types of interceptor we need to move the Fault Tolerance one up before the @Transactional one */
              if (faultToleranceInterceptorIndex >= 0 && transactionalInterceptorIndex >= 0) {
                  if (tc.isDebugEnabled())
                      Tr.debug(tc, "Reordering fault tolerance with respect to @Transactional");
                  Class<?> c = atd.getInterceptors().remove(faultToleranceInterceptorIndex);
                  atd.getInterceptors().add(transactionalInterceptorIndex, c);
              }
          }
      }
docs: Move the FaultToleranceInterceptor up before the Transactional interceptors if required