asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject asterixdb git commit: [ASTERIXDB-2183][STO] Remove On-disk Inverted List Latch
Date Tue, 30 Jan 2018 00:15:38 GMT
Repository: asterixdb
Updated Branches:
  refs/heads/master 62feff13b -> 5aa29b86f


[ASTERIXDB-2183][STO] Remove On-disk Inverted List Latch

Change-Id: Idcf0df5119824f0ef6761d514ccbd82af678a797
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2328
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <imaxon@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/5aa29b86
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/5aa29b86
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/5aa29b86

Branch: refs/heads/master
Commit: 5aa29b86f9e537e5e68c31f07fbabe8ecd626636
Parents: 62feff1
Author: Ian Maxon <imaxon@apache.org>
Authored: Fri Jan 26 14:48:49 2018 -0800
Committer: Ian Maxon <imaxon@apache.org>
Committed: Mon Jan 29 16:14:55 2018 -0800

----------------------------------------------------------------------
 .../invertedindex/ondisk/FixedSizeElementInvertedListCursor.java   | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/5aa29b86/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/ondisk/FixedSizeElementInvertedListCursor.java
----------------------------------------------------------------------
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/ondisk/FixedSizeElementInvertedListCursor.java
b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/ondisk/FixedSizeElementInvertedListCursor.java
index 94ce348..75bdbc4 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/ondisk/FixedSizeElementInvertedListCursor.java
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/ondisk/FixedSizeElementInvertedListCursor.java
@@ -96,7 +96,6 @@ public class FixedSizeElementInvertedListCursor implements IInvertedListCursor
{
         int pix = 0;
         for (int i = startPageId; i <= endPageId; i++) {
             pages[pix] = bufferCache.pin(BufferedFileHandle.getDiskPageId(fileId, i), false);
-            pages[pix].acquireReadLatch();
             pix++;
         }
         pinned = true;
@@ -106,7 +105,6 @@ public class FixedSizeElementInvertedListCursor implements IInvertedListCursor
{
     public void unpinPages() throws HyracksDataException {
         int numPages = endPageId - startPageId + 1;
         for (int i = 0; i < numPages; i++) {
-            pages[i].releaseReadLatch();
             bufferCache.unpin(pages[i]);
         }
         pinned = false;


Mime
View raw message