[
https://issues.apache.org/jira/browse/ASTERIXDB-3343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17849097#comment-17849097
]
ASF subversion and git services commented on ASTERIXDB-3343:
------------------------------------------------------------
Commit aca87de0fec219c628981bdc8e441d22cc67ebef in asterixdb's branch
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=aca87de0fe ]
[ASTERIXDB-3343][API] Return new list when getting completed requests
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
Completed requests collection has been changed to LinkedHashMap
recently which is not synchronized. ConcurrentModificationException can
happen when traversing the returned values and the map gets updated.
Return a new list of the values instead of returning the values view
directly.
Change-Id: Ic5a8c12e3feaddeea6882c34fba3c12dc22452c3
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18306
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
> Add servlet to get completed requests
> -------------------------------------
>
> Key: ASTERIXDB-3343
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-3343
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: API - HTTP API
> Reporter: Ali Alsuliman
> Assignee: Ali Alsuliman
> Priority: Major
> Labels: triaged
>
> Add new servlet to retrieve the completed requests similar to what
> completed_requests() function returns.
> Make CcQueryCancellationServlet implement GET to retrieve the active requests
> similar to what active_requests() returns.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)