This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new bade4fd  Make the exception message with the instance id which will 
help us to find the bug. (#1005)
bade4fd is described below

commit bade4fd6c8db0ee69875961cef1ee38c51e8ad17
Author: 彭勇升 pengys <[email protected]>
AuthorDate: Fri Mar 30 22:09:34 2018 +0800

    Make the exception message with the instance id which will help us to find 
the bug. (#1005)
    
    Fixed #999
---
 .../apm/collector/storage/es/dao/InstanceHeartBeatEsPersistenceDAO.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/dao/InstanceHeartBeatEsPersistenceDAO.java
 
b/apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/dao/InstanceHeartBeatEsPersistenceDAO.java
index 0e99486..c17ec3a 100644
--- 
a/apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/dao/InstanceHeartBeatEsPersistenceDAO.java
+++ 
b/apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/apache/skywalking/apm/collector/storage/es/dao/InstanceHeartBeatEsPersistenceDAO.java
@@ -61,7 +61,7 @@ public class InstanceHeartBeatEsPersistenceDAO extends EsDAO 
implements IInstanc
     }
 
     @Override public IndexRequestBuilder prepareBatchInsert(Instance data) {
-        throw new UnexpectedException("There is no need to merge stream data 
with database data.");
+        throw new UnexpectedException("Received an instance heart beat message 
under instance id= " + data.getId() + " , which doesn't exist.");
     }
 
     @Override public UpdateRequestBuilder prepareBatchUpdate(Instance data) {

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to