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: extras/task-store-database-jpa/src/main/java/io/a2a/extras/taskstore/database/jpa/JpaDatabaseTaskStore.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,10 +96,12 @@ public void delete(String taskId) {
96
96
* Determines if a task is considered active for queue management purposes.
97
97
* <p>
98
98
* A task is active if:
99
+
* </p>
99
100
* <ul>
100
101
* <li>Its state is not final, OR</li>
101
102
* <li>Its state is final but it was finalized within the grace period</li>
102
103
* </ul>
104
+
* <p>
103
105
* The grace period handles the race condition where events are published to Kafka
104
106
* while a task is active, but consumed on a replica node after the task is finalized.
0 commit comments