Mercurial > hg > Database > Alice
changeset 576:2df12c110ebc dispose
change print log
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 16 Dec 2015 13:06:47 +0900 |
parents | fe55be1ce12d |
children | 924e5f52a61f |
files | src/main/java/alice/datasegment/DataSegmentKey.java src/main/java/alice/topology/manager/CreateTreeTopology.java src/main/java/alice/topology/node/SaveCookie.java |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/alice/datasegment/DataSegmentKey.java Tue Dec 15 16:46:24 2015 +0900 +++ b/src/main/java/alice/datasegment/DataSegmentKey.java Wed Dec 16 13:06:47 2015 +0900 @@ -86,7 +86,7 @@ } public void replyValue(Command cmd, DataSegmentValue data, boolean cFlag){ - if (cFlag){ + if (cFlag && !data.rData.compressed()){ try { data.rData.zip(); } catch (IOException e) {
--- a/src/main/java/alice/topology/manager/CreateTreeTopology.java Tue Dec 15 16:46:24 2015 +0900 +++ b/src/main/java/alice/topology/manager/CreateTreeTopology.java Wed Dec 16 13:06:47 2015 +0900 @@ -31,7 +31,7 @@ @Override public void run() { String cookie = info3.asString(); - System.out.println(cookie); + System.out.println("cookie:" + cookie); HostMessage host = info.asClass(HostMessage.class); int comingHostCount = info1.asInteger(); ParentManager manager = info6.asClass(ParentManager.class);
--- a/src/main/java/alice/topology/node/SaveCookie.java Tue Dec 15 16:46:24 2015 +0900 +++ b/src/main/java/alice/topology/node/SaveCookie.java Wed Dec 16 13:06:47 2015 +0900 @@ -14,7 +14,7 @@ @Override public void run() { - System.out.println(info.asString()); + System.out.println("SaveCookie:" + info.asString()); }