diff options
author | Tor Brede Vekterli <vekterli@yahoo-inc.com> | 2017-06-22 14:30:00 +0200 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahoo-inc.com> | 2017-06-22 15:09:43 +0200 |
commit | 4fffbbfe68797a4f62b07fcfc451042130db081d (patch) | |
tree | dc7482f64979fbb6f1e4ffe9115ec07e36d4ef54 /documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/StatBucketMessage.java | |
parent | 7eeea0b0073e7f13f1047eba1523995ed67de6be (diff) |
Remove MessageBus sequencing for read only operations
We cannot guarantee sequencing when operations hit different SourceSessions
in the first place, so we should not sacrifice performance and parallelism
by chasing an unreachable goal. Clients should only rely on the standard
mechanism for write visibility, which is to receive an ACK.
Add ACK barriers to AsyncSession test to avoid implicit sequencing requirement.
Diffstat (limited to 'documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/StatBucketMessage.java')
-rwxr-xr-x | documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/StatBucketMessage.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/StatBucketMessage.java b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/StatBucketMessage.java index ed08c23504e..9b2176d85f6 100755 --- a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/StatBucketMessage.java +++ b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/StatBucketMessage.java @@ -44,16 +44,6 @@ public class StatBucketMessage extends DocumentMessage { } @Override - public boolean hasSequenceId() { - return true; - } - - @Override - public long getSequenceId() { - return bucketId.getRawId(); - } - - @Override public int getType() { return DocumentProtocol.MESSAGE_STATBUCKET; } |