Summary
The RPC node occasionally goes into an unwind when getting the highest DS block height (getHighestDSL2Block) in the stageBatches stage. The error comes from the getHighestDSL2Block, which somehow incorrectly reports a much lower block height than the actual highest block height in the datastream.
This causes the RPC node to get stuck for awhile to unnecessarily unwind the node state, before downloading the exact same blocks from the DS server.