Skip to content

Commit 0a1a0fb

Browse files
committed
[DOC-12004] Add a note about completed_requests eviction order behavior (#641)
1 parent 92326b6 commit 0a1a0fb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

modules/n1ql/pages/n1ql-manage/monitoring-n1ql-query.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,10 @@ curl $BASE_URL/admin/settings -u $USER:$PASSWORD \
822822
-d '{"completed-limit":1000}'
823823
----
824824

825+
NOTE: To optimize performance, the completed requests catalog uses a generic cache that does not guarantee a strict eviction order.
826+
When the catalog reaches the specified limit, it evicts requests based on when they complete, and not when they start.
827+
As a result, it may remove a request with a later start time (`requestTime`) that completes quickly before it removes a long-running request with an earlier start time that completes later.
828+
825829
[[sys-history]]
826830
== Stream Completed Requests
827831

0 commit comments

Comments
 (0)