You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagManagementStateStore.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ public interface DagManagementStateStore {
108
108
* @param leaseParams uniquely identifies the flow, the present action upon it, the time the action
109
109
* was triggered, and if the dag action event we're checking on is a reminder event
Copy file name to clipboardExpand all lines: gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/InstrumentedLeaseArbiter.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -91,8 +91,8 @@ public LeaseAttemptStatus tryAcquireLease(DagActionStore.LeaseParams leaseParams
Copy file name to clipboardExpand all lines: gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/MultiActiveLeaseArbiter.java
Copy file name to clipboardExpand all lines: gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/MySqlDagManagementStateStore.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -171,8 +171,8 @@ public synchronized void updateDagNode(Dag.DagNode<JobExecutionPlan> dagNode)
Copy file name to clipboardExpand all lines: gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/MysqlMultiActiveLeaseArbiter.java
+5-1
Original file line number
Diff line number
Diff line change
@@ -362,8 +362,12 @@ else if (leaseValidityStatus == 2) {
362
362
}
363
363
}
364
364
365
+
/*
366
+
Determines if a lease can be acquired for the given flow. A lease is acquirable if
367
+
no existing lease record exists in arbiter table or the record is older then epsilon time
Copy file name to clipboardExpand all lines: gobblin-service/src/test/java/org/apache/gobblin/service/modules/orchestration/MySqlDagManagementStateStoreTest.java
Copy file name to clipboardExpand all lines: gobblin-service/src/test/java/org/apache/gobblin/service/modules/orchestration/MysqlMultiActiveLeaseArbiterTest.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ public void testWhenLeasableEntityUnavailable() throws Exception{
0 commit comments