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/11/07 07:16:00 UTC
[jira] [Commented] (ASTERIXDB-2464) createFile() followed by
deleteFile() will not unregister the file
[ https://issues.apache.org/jira/browse/ASTERIXDB-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677775#comment-16677775 ]
ASF subversion and git services commented on ASTERIXDB-2464:
------------------------------------------------------------
Commit 5aeba9b475fc714edf953bd88ada7281a2d4937e in asterixdb's branch refs/heads/master from [~wyk]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=5aeba9b ]
[ASTERIXDB-2422][STO] Introduce compressed storage
- user model changes: yes
- Add new configuration in the with-caluse to enable compression
- Add new nc configuration in the config file
- storage format changes: yes
- Pages of the primary index can be compressed
- Add a companion file (Look Aside File) with the compressed index
- Allow optional values in the LocalResource
- Add compression information in Metadata.Dataset
- interface changes: yes
- ICCApplicationContext:
- Add getCompressionManager()
- IBufferCache:
- Add getCompressedFileWriter(int fileId)
- ICachedPageInternal:
- Add setCompressedPageOffset(long offset)
- Add getCompressedPageOffset()
- Add setCompressedPageSize(int size)
- Add getCompressedPageSize()
Details:
- Add new integration test for this patch
- Fix ASTERIXDB-2464
- Add ddl-with-clause type validator
Additional details in the design document:
https://cwiki.apache.org/confluence/display/ASTERIXDB/Compression+in+AsterixDB
Change-Id: Idde6f37c810c30c7f1a5ee8bcbc1e3e5f4410031
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2857
Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mh...@apache.org>
> createFile() followed by deleteFile() will not unregister the file
> ------------------------------------------------------------------
>
> Key: ASTERIXDB-2464
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2464
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: HYR - Hyracks, STO - Storage
> Reporter: Wail Alkowaileet
> Assignee: Wail Alkowaileet
> Priority: Major
>
> In [BufferCache.java#L817|https://github.com/apache/asterixdb/blob/adfb63361a1808aadb1782aee03acc4d9af8eb0c/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/buffercache/BufferCache.java#L817], we create the file and register it. However, it does not belong to a FileHandle.
> In [BufferCache.java#L1026|https://github.com/apache/asterixdb/blob/adfb63361a1808aadb1782aee03acc4d9af8eb0c/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/buffercache/BufferCache.java#L1026], the BufferCache will not unregister the file as it's not in the fileInfoMap.
> This probably the reason for the sporadic _the file is already mapped_ issue?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)