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
Bug 36417002 - [36416582->24.09] Executor service incorrectly re-creates task after each thrown yield after the task has been recovered after fail-over (merge main -> ce/main @ 107660)
Copy file name to clipboardExpand all lines: prj/coherence-concurrent/src/main/java/com/oracle/coherence/concurrent/executor/ClusteredRegistration.java
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2016, 2023, Oracle and/or its affiliates.
2
+
* Copyright (c) 2016, 2024, Oracle and/or its affiliates.
3
3
*
4
4
* Licensed under the Universal Permissive License v 1.0 as shown at
5
5
* https://oss.oracle.com/licenses/upl.
@@ -488,7 +488,7 @@ public TaskExecutor(String sTaskId, boolean fRecovered)
488
488
m_task = null;
489
489
m_cYield = 0;
490
490
m_properties = null;
491
-
f_fRecovered = fRecovered;
491
+
m_fRecovered = fRecovered;
492
492
}
493
493
494
494
// ----- public methods --------------------------------------------
@@ -569,7 +569,7 @@ public void run()
569
569
booleanfIsCompleted;
570
570
571
571
// when resuming locally, just determine if we've completed the task
572
-
if (isResuming() && (!f_fRecovered || m_taskinstanceofCronTask))
572
+
if (isResuming() && (!m_fRecovered || m_taskinstanceofCronTask))
573
573
{
574
574
// when resuming, only extract the necessary information (like isCompleted)
0 commit comments