[389-devel] Re: design review: don't call plugins for retro changelog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 01/14/2016 09:42 AM, Ludwig Krispenz wrote:
We had many issues with the retro changelog plugin. The main reason is that the retro CL is a separate backend and if there is more than one regular backend it is easy to run into deadlocks, eg a change in backend A triggers and ADD in theh RCL, in the add a plugin might want to access backend B, but there was a change in backend B and it waits for the RCL lock and both threads are blocked.
All the scenrios so far could be resolved, by scoping the plugins to ignore changes in the retro CL, but it is tedious and in my opinion operations on the retro changelog should not be seen by plugins at all.
I propose a simple configuration an processing change to allow to ignore plugins for specific backends, please have a look at:

http://www.port389.org/docs/389ds/design/exclude-backends-from-plugin-operations.html
Looks good.  Just to clarify when you say "Define a configuration parameter for backend entries:" do you mean "Define a configuration parameter for backend plugins:"?

Regards,
Ludwig
--
389-devel mailing list
389-devel@%(host_name)s
http://lists.fedoraproject.org/admin/lists/389-devel@xxxxxxxxxxxxxxxxxxxxxxx

--
389-devel mailing list
389-devel@%(host_name)s
http://lists.fedoraproject.org/admin/lists/389-devel@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux