reworked solution for i#118012 crash during deletion of rows
commit 16155fdc introduced a bottleneck in area broadcasts with the change from http://svn.apache.org/viewvc?view=revision&revision=1297916 That for each broadcast copied all areas in the affected slot(s) before broadcasting, just in case that during Notify() an area would be removed from the same slot invalidating the iterator, and attempted to find the area again in the original set. For documents with lots of areas in a slot and/or lots of slots that would be a major performance penalty. Reworked such that to-be-erased area entries are marked and remembered instead and cleaned up after iteration. Change-Id: Ia485941746f435f8410d2084868263e84f25ffcb
Showing
This diff is collapsed.
Please
register
or
sign in
to comment