Description
The nextRaw() contract (per Javadoc) requires the caller to hold a lock on the RegionScannerImpl object. Phoenix' *Aggregate observers do not do that as far as I can see.
That might accidentally work but it not guaranteed to remain that way.