bzp2010 commented on code in PR #12526:
URL: https://github.com/apache/apisix/pull/12526#discussion_r2281301848


##########
apisix/admin/standalone.lua:
##########
@@ -233,11 +252,17 @@ local function update(ctx)
         end
     end
 
+    -- write metadata
+    apisix_yaml[METADATA_LAST_MODIFIED] = ngx_time()

Review Comment:
   This is intentional, I want to make sure that the record is atomic, 
succeeding at the same time or failing at the same time. If it partially 
succeeds, this will lead to accidents.



-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to