huskies: merge 719_refactor_stale_merge_job_lock_recovery_on_new_merge_attempts
This commit is contained in:
@@ -20,6 +20,12 @@ pub enum MergeJobStatus {
|
||||
pub struct MergeJob {
|
||||
pub story_id: String,
|
||||
pub status: MergeJobStatus,
|
||||
/// PID of the server process that started this job.
|
||||
///
|
||||
/// Used by stale-lock recovery: on a new merge attempt the system checks
|
||||
/// every Running entry and removes any whose owning process is no longer
|
||||
/// alive (e.g. the server crashed and restarted).
|
||||
pub pid: u32,
|
||||
}
|
||||
|
||||
/// Result of a mergemaster merge operation.
|
||||
|
||||
Reference in New Issue
Block a user