[ANALYZER-2197] Adds cache flushing. Documents the IOlapServiceException.