wu-sheng closed pull request #1005: Received an instance heart beat message 
under non-existing instance.
URL: https://github.com/apache/incubator-skywalking/pull/1005
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 0e99486ca..c17ec3a6e 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 InstanceHeartBeatEsPersistenceDAO(ElasticSearchClient 
client) {
     }
 
     @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) {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to