asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amo...@apache.org
Subject asterixdb git commit: [ASTERIXDB-2049][ING] Improve logging for Active messages
Date Sun, 20 Aug 2017 03:48:17 GMT
Repository: asterixdb
Updated Branches:
  refs/heads/master b879175e8 -> 7f62b205c


[ASTERIXDB-2049][ING] Improve logging for Active messages

- user model changes: no
- storage format changes: no
- interface changes: no

details:
- With each active message, log the runtime which sent it.

Change-Id: I9663277cadf922b7e0ec224b056357b0f24bbb05
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1951
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/7f62b205
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/7f62b205
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/7f62b205

Branch: refs/heads/master
Commit: 7f62b205c031b283641292521a94b11233f57ef6
Parents: b879175
Author: Abdullah Alamoudi <bamousaa@gmail.com>
Authored: Sat Aug 19 18:48:43 2017 -0700
Committer: abdullah alamoudi <bamousaa@gmail.com>
Committed: Sat Aug 19 20:47:54 2017 -0700

----------------------------------------------------------------------
 .../org/apache/asterix/active/message/ActivePartitionMessage.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7f62b205/asterixdb/asterix-active/src/main/java/org/apache/asterix/active/message/ActivePartitionMessage.java
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-active/src/main/java/org/apache/asterix/active/message/ActivePartitionMessage.java
b/asterixdb/asterix-active/src/main/java/org/apache/asterix/active/message/ActivePartitionMessage.java
index 6041ab5..39b905f 100644
--- a/asterixdb/asterix-active/src/main/java/org/apache/asterix/active/message/ActivePartitionMessage.java
+++ b/asterixdb/asterix-active/src/main/java/org/apache/asterix/active/message/ActivePartitionMessage.java
@@ -72,7 +72,7 @@ public class ActivePartitionMessage implements ICcAddressedMessage {
 
     @Override
     public String toString() {
-        return ActivePartitionMessage.class.getSimpleName() + '-' + event;
+        return activeRuntimeId + ":" + ActivePartitionMessage.class.getSimpleName() + '-'
+ event;
     }
 
     @Override


Mime
View raw message