This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch mesh-receiver
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git
The following commit(s) were added to refs/heads/mesh-receiver by this push:
new ac9f283 Fix missing calculate in db merging.
ac9f283 is described below
commit ac9f2836f867d628fbdda8973771ca11ff6c6328
Author: Wu Sheng <[email protected]>
AuthorDate: Thu Oct 25 23:15:34 2018 +0800
Fix missing calculate in db merging.
---
.../oap/server/core/analysis/worker/IndicatorPersistentWorker.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/worker/IndicatorPersistentWorker.java
b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/worker/IndicatorPersistentWorker.java
index efecef9..d482b30 100644
---
a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/worker/IndicatorPersistentWorker.java
+++
b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/worker/IndicatorPersistentWorker.java
@@ -87,6 +87,7 @@ public class IndicatorPersistentWorker extends
PersistenceWorker<Indicator, Merg
try {
if (nonNull(dbData)) {
data.combine(dbData);
+ data.calculate();
batchCollection.add(indicatorDAO.prepareBatchUpdate(modelName, data));
} else {
batchCollection.add(indicatorDAO.prepareBatchInsert(modelName, data));