-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dispatcher Flush UI sends "Delete" Requests One Node at a Time #3045
Comments
Hi ACS Team, The dispatcher Flush UI is our most used ACS Commons feature other than Error page handler. This issue basically defeating the advantage of doing builds using Cloud Manager without involving the CSE support. Due to this issue, every time we do the production deployment, we need to request the CSE to manually clear the dispatcher cache. I have attached the two log files to highlight the difference between Dispatcher Flush on the AEM 6.5.10 vs AEM 6.5.15. Dispatcher-Flush-Log-AEM.6.5.10.log Also, I did some digging to figure out the internal difference between AEM 6.5.10 code vs AEM 6.5.15. Below are my findings: Where as in AEM 6.5.15, the ReplicatorImpl.java class is building a List of ReplicationAction by passing the type, path, userID and some other params. I don't the understand need for building a List of ReplicationActions when the replication type is same for all the paths. With this update in the Replicator implementation code, I don't see any straight forward way to get original functionality back any time soon. |
@sudheersundalam1 thanks for confirming. I reviews the ACS Code and we just pas in the specified path (whatever you pass in) to the to the the AEM Replication API -- so the change in internals explains this change in behavior. Have you been able to log an issue with Adobe Customer Care to see if they can re-introduce the previous functionality? Maybe if they revert the existing functionality, and then put the new functionality behind a new parameter/action type? (like DELETE_RECURSIVELY or something?) Im not sure what we can do in this project, since we obviously cant re-write the Replication API. This seems like a breaking change to the AEM Replication API though - im not sure what the policy is on that, but its worth asking. |
@davidjgonzalez , I have raised the Adobe support ticket explaining the breaking changes to the replication API. I will keep you posted with the updates from Adobe support. |
+1, same issue here |
@davidjgonzalez would you be open to changing the com.adobe.acs.commons.replication.dispatcher.DispatcherFlusher to ConsumerType? That way in AEM on-premises we can just implement it ourselves and opt-in to not use the replicator but instead do a direct http call (already doing this in a few locations, don't mind contributing this) |
@royteeuwen yeh - that works. wanna make a quick PR? I can release a build release this week. |
@royteeuwen what version of ACS commons did you test with? Has anyone tested with 5.7.0 yet? |
Just curious if there's been any response from Adobe. This would certainly impact our ability to use the latest service pack. |
#3045 - Make DispatcherFlush interface @ConsumerType (from @ProviderT…
Adobe bug filed as ASSETS-21447. |
Fixed in 6.0.8 |
Required Information
Expected Behavior
Within Dispatcher Flush UI, clicking "Flush Paths on Dispatcher" with the Flush Action set as "Delete" would delete files in the Dispatcher cache as configured via the "Paths to Flush" parameters. This process was almost instantaneous, allowing quick turn-around when needing to fully clear the cache.
Actual Behavior
Now, when initiating the Flush, the page spins. When checking replication logs, it appears that each individual node under the declared paths is cleared one at a time. For large repositories, this is very slow and can take hours to complete.
This seems to have started happening after we upgraded to 6.5.15, though not certain.
Steps to Reproduce
Links
Links to related assets, e.g. content packages containing test components
The text was updated successfully, but these errors were encountered: