asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Westmann (Code Review)" <>
Subject Change in asterixdb[master]: ASTERIXDB-1152: Delete storage data of old instances
Date Tue, 17 Nov 2015 17:50:21 GMT
Till Westmann has posted comments on this change.

Change subject: ASTERIXDB-1152: Delete storage data of old instances

Patch Set 8:

File asterix-app/src/main/java/org/apache/asterix/api/common/

Line 131:     private final boolean initialRun;
Why does "initialRun" get stored in the context? It seems that the lifecycle of this information
is not very well aligned with the lifecycle of the context.
File asterix-transactions/src/main/java/org/apache/asterix/transaction/management/resource/

Line 96
This should probably be removed before committing this change.

Line 70:      * to make sure when ResourceIdFactory is initialize on this LocalResourceRepository,
it gets the correct value.

Line 121:             System.out.println("storageMetadataDir: " + storageMetadataDir.getAbsolutePath());

Line 135:             if (storageRootDirName.startsWith(System.getProperty("file.separator")))
What's the difference between 'System.getProperty("file.separator")' and

Also, does this convention work on another OS (e.g. Windows)?
File asterix-transactions/src/main/java/org/apache/asterix/transaction/management/resource/

Line 34:         this.systemState = systemState;
It seems strange to materialize the state in this factory, as the state of the system probably
changes over time, but this factory doesn't.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb6c6949bdf2ed6c3e491fa66a23491ff34fc830
Gerrit-PatchSet: 8
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Murtadha Hubail <>
Gerrit-Reviewer: Ian Maxon <>
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Murtadha Hubail <>
Gerrit-Reviewer: Taewoo Kim <>
Gerrit-Reviewer: Till Westmann <>
Gerrit-Reviewer: Young-Seok Kim <>
Gerrit-HasComments: Yes

View raw message