You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/05/10 20:23:00 UTC

[jira] [Commented] (ASTERIXDB-2367) Reduce Blocking when Create/Open/Delete Files from BufferCache

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

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

Commit 1b0bbad5dcb9729b261670c6ec3f49f0ba6470a9 in asterixdb's branch refs/heads/master from [~luochen01]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=1b0bbad ]

[ASTERIXDB-2367][STO] Various Fixes for BufferCache

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

Details:
- Ensure fileInfo is deleted from FileInfoMap when delete a file from
buffer cache
- When delete old components after merge, ensure components are first
purged to avoid sweep old pages
- When open/create/delete files from buffer cache, use file-level
synchronization to reduce blocking. Certain operations such as
createFile/deleteFile can take long time if the disk is busy.

Change-Id: I8a199d3e83592425ab5055bd12bde519e80deb13
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2604
Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <im...@apache.org>


> Reduce Blocking when Create/Open/Delete Files from BufferCache
> --------------------------------------------------------------
>
>                 Key: ASTERIXDB-2367
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2367
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>            Reporter: Chen Luo
>            Assignee: Chen Luo
>            Priority: Major
>
> Currently, all files create/open/delete operations are all synchronized using the same object in buffer cache. Certain operations inside the synchronized block can be very expensive (e.g., sweepAndFlush and closeFile/openFile from IOManager) and thus block other operations.



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