openmicroscopy/openmicroscopy — pull request #2394 by joshmoore (2014-04-29 15:02:10+00:00)
Title: Call updateObjects/updateReferences in a loop (rebased onto develop)

This is the same as gh-2385 but rebased onto develop.

----

This prevents Ice.MessageSizeMax from being exceeded when there are many
objects to update. The default is to only update 2000 objects or
references at a time, though this is configurable via `ice.config`
or subclassing `OMEROMetadataStoreClient` and overriding
`getDefaultBatchSize()`.

See https://trac.openmicroscopy.org.uk/ome/ticket/11990

To test files are needed that insert a vast number of rows into the DB. The recent files from @dpwrussell did this. A fake file of the form `touch 'a&sizeZ=10000&exposureTime=0.1.fake'` will also work.