Murtadha Hubail has posted comments on this change.

Change subject: ASTERIXDB-1058: make Asterix compatible with lazy LSM memory 
allocation
......................................................................


Patch Set 6:

(7 comments)

https://asterix-gerrit.ics.uci.edu/#/c/408/6/asterix-common/src/main/java/org/apache/asterix/common/context/DatasetLifecycleManager.java
File 
asterix-common/src/main/java/org/apache/asterix/common/context/DatasetLifecycleManager.java:

Line 279:                 assert vbcs != null;
> asserts have a few disadvantages: 1) they need to be enabled to actually be
Done


Line 607:             throw new HyracksDataException("Failed to deallocate 
memory for dataset with ID " + datasetId
> s/deallocate/allocate/
Done


Line 625:                 dsInfo.memoryAllocated = true;
> It would be nice, if "memoryAllocated" (and all other fields) would be part
Done


Line 648:     @Override
> If this method disappears from the IIndexLifecycleManager, we don't need it
Removed.


Line 665:     //This method is currently never used but it is implemented in 
case of memory management design change.
> ditto
Removed.


https://asterix-gerrit.ics.uci.edu/#/c/408/6/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/service/locking/TestRuntimeContextProvider.java
File 
asterix-transactions/src/main/java/org/apache/asterix/transaction/management/service/locking/TestRuntimeContextProvider.java:

Line 142:         @Override
> If this method disappears from the IIndexLifecycleManager, we don't need it
Removed.


Line 147:         @Override
> ditto
Removed.


-- 
To view, visit https://asterix-gerrit.ics.uci.edu/408
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I4ea1eb129fe3043d43b077473dc29d17a97dfcc2
Gerrit-PatchSet: 6
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Murtadha Hubail <[email protected]>
Gerrit-Reviewer: Ian Maxon <[email protected]>
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Michael Carey <[email protected]>
Gerrit-Reviewer: Murtadha Hubail <[email protected]>
Gerrit-Reviewer: Till Westmann <[email protected]>
Gerrit-Reviewer: Yingyi Bu <[email protected]>
Gerrit-Reviewer: Young-Seok Kim <[email protected]>
Gerrit-HasComments: Yes

Reply via email to