asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Blow (Code Review)" <>
Subject Change in asterixdb[master]: Support Sending Messages Alongside Frame Data
Date Tue, 16 Feb 2016 21:28:31 GMT
Michael Blow has posted comments on this change.

Change subject: Support Sending Messages Alongside Frame Data

Patch Set 3:

File asterix-external-data/src/main/java/org/apache/asterix/external/dataflow/

Line 54:         if (ctx.getSharedObject() == null) {
Should this be re-written to avoid calling getSharedObject() twice?  It seems we could only
call it once by moving "ByteBuffer message = (ByteBuffer) ctx.getSharedObject();" first and
checking null on message.
File asterix-external-data/src/main/java/org/apache/asterix/external/feed/runtime/

Line 61:             synchronized (ctx) {
Probably there's a good reason, but why is this mutation of the shared object synchronized
and the other one(s) isn't?
File asterix-external-data/src/main/java/org/apache/asterix/external/operators/

Line 173:             e.printStackTrace();
Remove printStackTrace() (understood not introduced with this change)
File asterix-external-data/src/main/java/org/apache/asterix/external/util/

Line 27:     public static final byte NULL_FEED_MESSAGE = 0;
Do these correspond to the enum items?  If so, should we make these MessageType.NULL.ordinal(),

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Iaa23e9f8a909ddcafc1c3ee95181092eb04ee1ad
Gerrit-PatchSet: 3
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: abdullah alamoudi <>
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Michael Blow <>
Gerrit-Reviewer: Murtadha Hubail <>
Gerrit-Reviewer: Steven Jacobs <>
Gerrit-Reviewer: Till Westmann <>
Gerrit-Reviewer: Yingyi Bu <>
Gerrit-Reviewer: abdullah alamoudi <>
Gerrit-HasComments: Yes

View raw message