diff src/alice/datasegment/DataSegmentKey.java @ 236:ca1c9c477f54

AtomicInteger seq doesn't need for local
author sugi
date Sat, 30 Mar 2013 18:39:45 +0900
parents 4dc2f09a8f7a
children 88be2824a989
line wrap: on
line diff
--- a/src/alice/datasegment/DataSegmentKey.java	Sat Mar 30 10:50:17 2013 +0900
+++ b/src/alice/datasegment/DataSegmentKey.java	Sat Mar 30 18:39:45 2013 +0900
@@ -85,7 +85,6 @@
 	public void replyValue(Command cmd, DataSegmentValue data){
 		if (cmd.cs!=null){ // if cmd has cs-instance, it means Command from local.
 			cmd.cs.ids.reply(cmd.receiver, new Command(CommandType.REPLY, null, null, data.val, data.obj, data.index, cmd.seq, null, null, data.from));
-			DataSegment.getLocal().getAndRemoveCmd(cmd.seq);
 			cmd = null; // someone has been holding instance.
 		} else {
 			try {