SERVER-90885 Better error handling for BackupFileCloner (#22903) (#44737)

GitOrigin-RevId: 162bbedad806d3426634f1e9402bda26d737a1d9
This commit is contained in:
Ali Mir 2026-04-02 15:43:08 -04:00 committed by MongoDB Bot
parent 722461a6ad
commit 4028f35845

View File

@ -190,6 +190,11 @@ protected:
return _status;
}
void setStatus(WithLock, Status status) {
invariant(!status.isOK());
_status = status;
}
const HostAndPort& getSource() const {
return _source;
}