ezsystems/ezpublish — pull request #153 by Plopix (2011-11-02 16:51:01+00:00)
Title: Fix potential bug behaviour in PendingActions with DelayedIndexing and Asynchronous Publish

Hi eZ Team !

That was not reproduced, but I think it will inevitably happen.

If we enabled delayedIndexing and enabled the asynchronous publishing, it can be problematic.

The key in ezpendingaction table is action/created. But this table manages pendingactions push to solr (via cronjobs).

So if 2 objects are published in the same second, the new line in ezpendingaction table will overwrite the previous one. And the previous object will never be indexed in Solr.

is it correct ?

If not, forget this pull request ;)

++