[SPARK-3625] In some cases, the RDD.checkpoint does not work