You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2021/01/01 10:12:53 UTC

[skywalking] branch master updated: Fix the uuid field in GRPCConfigWatcherRegister is not updated. (#6115)

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/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new ff2ab69  Fix the uuid field in GRPCConfigWatcherRegister is not updated. (#6115)
ff2ab69 is described below

commit ff2ab69a66dfe7dfa5cb4266e230b6a68c93483d
Author: zifeihan <de...@gmail.com>
AuthorDate: Fri Jan 1 18:12:36 2021 +0800

    Fix the uuid field in GRPCConfigWatcherRegister is not updated. (#6115)
---
 CHANGES.md                                                               | 1 +
 .../oap/server/configuration/grpc/GRPCConfigWatcherRegister.java         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/CHANGES.md b/CHANGES.md
index 0668f16..3ca5cc5 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -40,6 +40,7 @@ Release Notes.
 * Add JavaScript component ID.
 * Fix CVE of UninstrumentedGateways in Dynamic Configuration activation.
 * Improve query performance in storage-influxdb-plugin.
+* Fix the uuid field in GRPCConfigWatcherRegister is not updated.
 
 #### UI
 * Fix un-removed tags in trace query.
diff --git a/oap-server/server-configuration/grpc-configuration-sync/src/main/java/org/apache/skywalking/oap/server/configuration/grpc/GRPCConfigWatcherRegister.java b/oap-server/server-configuration/grpc-configuration-sync/src/main/java/org/apache/skywalking/oap/server/configuration/grpc/GRPCConfigWatcherRegister.java
index edcfac7..d5adc67 100644
--- a/oap-server/server-configuration/grpc-configuration-sync/src/main/java/org/apache/skywalking/oap/server/configuration/grpc/GRPCConfigWatcherRegister.java
+++ b/oap-server/server-configuration/grpc-configuration-sync/src/main/java/org/apache/skywalking/oap/server/configuration/grpc/GRPCConfigWatcherRegister.java
@@ -67,6 +67,7 @@ public class GRPCConfigWatcherRegister extends ConfigWatcherRegister {
                     table.add(new ConfigTable.ConfigItem(name, config.getValue()));
                 }
             });
+            this.uuid = responseUuid;
         } catch (Exception e) {
             LOGGER.error("Remote config center [" + settings + "] is not available.", e);
         }