Storing a binary resource caused a deadlock when the after*Document trigger was called, in particular if that trigger tried to locked another collection (as the restxq trigger does). Fix: Collection.addBinaryResource must release the collection lock before calling any after* triggers. Instead it keeps a read lock on the document to prevent concurrent modification.
Storing a binary resource caused a deadlock when the after*Document trigger was called, in particular if that trigger tried to locked another collection (as the restxq trigger does). Fix: Collection.addBinaryResource must release the collection lock before calling any after* triggers. Instead it keeps a read lock on the document to prevent concurrent modification.

wshager/exist,ambs/exist,ljo/exist,MjAbuz/exist,lcahlander/exist,joewiz/exist,dizzzz/exist,kohsah/exist,joewiz/exist,kohsah/exist,MjAbuz/exist,zwobit/exist,eXist-db/exist,hungerburg/exist,kohsah/exist,eXist-db/exist,wshager/exist,MjAbuz/exist,jessealama/exist,jensopetersen/exist,eXist-db/exist,MjAbuz/exist,jensopetersen/exist,windauer/exist,eXist-db/exist,jensopetersen/exist,ambs/exist,kohsah/exist,jensopetersen/exist,lcahlander/exist,jensopetersen/exist,patczar/exist,ljo/exist,zwobit/exist,zwobit/exist,hungerburg/exist,ambs/exist,wshager/exist,ambs/exist,MjAbuz/exist,hungerburg/exist,RemiKoutcherawy/exist,joewiz/exist,RemiKoutcherawy/exist,dizzzz/exist,wshager/exist,hungerburg/exist,patczar/exist,lcahlander/exist,patczar/exist,wshager/exist,lcahlander/exist,eXist-db/exist,ljo/exist,joewiz/exist,hungerburg/exist,ljo/exist,opax/exist,joewiz/exist,wolfgangmm/exist,opax/exist,adamretter/exist,RemiKoutcherawy/exist,ljo/exist,kohsah/exist,opax/exist,olvidalo/exist,windauer/exist,jensopetersen/exist,adamretter/exist,adamretter/exist,wolfgangmm/exist,eXist-db/exist,patczar/exist,windauer/exist,ambs/exist,jessealama/exist,RemiKoutcherawy/exist,jessealama/exist,patczar/exist,windauer/exist,olvidalo/exist,olvidalo/exist,jessealama/exist,opax/exist,zwobit/exist,adamretter/exist,dizzzz/exist,RemiKoutcherawy/exist,jessealama/exist,wolfgangmm/exist,windauer/exist,lcahlander/exist,windauer/exist,ljo/exist,ambs/exist,olvidalo/exist,olvidalo/exist,joewiz/exist,RemiKoutcherawy/exist,adamretter/exist,wolfgangmm/exist,dizzzz/exist,adamretter/exist,MjAbuz/exist,zwobit/exist,wshager/exist,zwobit/exist,kohsah/exist,patczar/exist,dizzzz/exist,jessealama/exist,wolfgangmm/exist,lcahlander/exist,dizzzz/exist,opax/exist,wolfgangmm/exist