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

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

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

[ASTERIXDB-2552][RT] Reuse objects on reseting buffer manager

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

Details:
The "VariableFrameMemoryManager" releases the physical frames
objects, the logical frames objects and the free slots objects
on reset(). This patch is to retain those objects and only
release them on close() (as also stated in the interface).

- added close() to IFrameFreeSlotPolicy to make the interface similar
to the other interfaces (IFrameBufferManager, IFramePool, ... etc)
where close() is supposed to release while reset() is supposed to only
reset but retain resources.
- renamed "InMemorySortRuntimeFactory" to "MicroSortRuntimeFactory".

Change-Id: I88bea27e5024c621412ef609475e2a7ba1913afa
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3372
Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lycha...@couchbase.com>
Reviewed-by: Till Westmann <ti...@apache.org>


> 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