handle some cases in replicateForwardToGTID, exit early if docsMap is empty