9268 commented on code in PR #12867:
URL: https://github.com/apache/apisix/pull/12867#discussion_r2730753692


##########
apisix/discovery/nacos/init.lua:
##########
@@ -350,10 +356,13 @@ local function fetch_from_host(base_uri, username, 
password, services)
     for key, nodes in pairs(nodes_cache) do
         local content = core.json.encode(nodes)
         nacos_dict:set(key, content)
+        local nodes_version = ngx.crc32_long(content)
+        nacos_dict:set(key .. "#version", nodes_version)

Review Comment:
   accept,but nothing we can do when content write error



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to