Refactored glacier upload resync to minimize the amount of storage lost when recovering from a transient fault by reusing the current part if possible