[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831128#comment-16831128
 ] 

ASF subversion and git services commented on ASTERIXDB-2552:
------------------------------------------------------------

Commit 778ac28c1c29f4173eae9c4147cc43a180386103 in asterixdb's branch 
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=778ac28 ]

[ASTERIXDB-2552][RT] Implement micro external sort for subplans

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
This patch is to change the in memory sort used in subplans to
be a micro external sort to avoid out of memory error.

- added reset() to the runs merger to allow reusing the runs merger.
- renamed "InMemoryStableSortPOperator" to "MicroStableSortPOperator".
- changed the tag from "IN_MEMORY_STABLE_SORT" to "MICRO_STABLE_SORT".
- added test cases.

Change-Id: I930849d644c60d461d2869c9773b85e49b46fbdb
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3353
Contrib: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Dmitry Lychagin <[email protected]>


> Implement micro external sort operator for subplans
> ---------------------------------------------------
>
>                 Key: ASTERIXDB-2552
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2552
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: RT - Runtime
>    Affects Versions: 0.9.4
>            Reporter: Ali Alsuliman
>            Assignee: Ali Alsuliman
>            Priority: Major
>             Fix For: 0.9.4.2
>
>
> The external sort operator deals gracefully with insufficient memory. 
> However, the sort operator that is used in subplans currently is in memory 
> sort and not an external sort and thus could run out of memory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to