Is there a way to configure a replication agent/queue to prevent duplicate items in the queue? | Community
Skip to main content
LinearGradient
Level 6
October 16, 2015
Solved

Is there a way to configure a replication agent/queue to prevent duplicate items in the queue?

  • October 16, 2015
  • 1 reply
  • 1225 views

 Hi,

Out of the box, when a user publishes a site multiple times very quickly, the site's nodes can end up multiple times in the queue. This is especially true if the user does this when non of the site's nodes are replicated before.

Is there a way to configure the queue so that when an item that is already in the queue is to be added to queue once again, the queue prevents the second instance to be added (i.e. to behave like a unique queue)?

A solution that might work even better for us is that, pretending that we have a queue with the following elements (head: left, tail: right)

A, B, C, D, E, F, G

And then the user adds, for example, D to it again, the queue deletes the existing D and adds the new D to the end of the queue:

A, B, C, E, F, G, D

Is there a way to configure replication agents/queues to work like this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

There are multiple ways to handle it at project level & there is no out of the box configuration for it.

1 reply

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

There are multiple ways to handle it at project level & there is no out of the box configuration for it.