Description
In UngroupedAggregateRegionObserver#preCompact we call DefaultStatisticsCollector.createCompactionScanner. It uses the env config which in turn contains the RS server rpc timeout of 20 minutes. That's too long for a compaction hook.
Like in PHOENIX-4169, we should cap the timeout so the compaction doesn't get blocked.