asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luo Chen (Code Review)" <>
Subject Change in asterixdb[master]: Implemented LSM disk components alignment
Date Tue, 09 May 2017 03:03:28 GMT
Luo Chen has posted comments on this change.

Change subject: Implemented LSM disk components alignment

Patch Set 13:


File hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/

PS7, Line 337: 
> I'm not sure that's quite right either. Why does the index need to know abo
When talking about components correlation, what it really means is that all disk components
of all indexes of a dataset partition should be correlated. Indexes of different partitions
of a dataset (even if they are in the same NC) could have different number of components.

Suppose a NC has two partitions P1 and P2 for a dataset. They share the same memory budget
for memory components and the same PrimaryOperationTracker. Whenever P1 or P2 is full would
make all indexes of P1 and P2 to be flushed. However, when memory components of P1 are full,
it is possible that memory components of P2 are not flashable, e.g., they are empty or flushing,
and thus there's nothing to be flushed for P2. Thus, we need to group the flush operation
of all indexes of one partition, instead of all indexes of all partitions blindly.
File hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/

PS7, Line 458: ex
> Ok, well, maybe a comment or something to make that more explicit would be 

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I64bf34e255def72adc73b9f87cfa628a172ea694
Gerrit-PatchSet: 13
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Luo Chen <>
Gerrit-Reviewer: Ian Maxon <>
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Jianfeng Jia <>
Gerrit-Reviewer: Luo Chen <>
Gerrit-Reviewer: Till Westmann <>
Gerrit-Reviewer: Yingyi Bu <>
Gerrit-Reviewer: abdullah alamoudi <>
Gerrit-HasComments: Yes

View raw message