From cf9cfa68d19a59d8f2a23b84149df4de8ec8f490 Mon Sep 17 00:00:00 2001 From: Kishore Nallan Date: Sat, 6 May 2023 21:59:00 +0530 Subject: [PATCH] Log at the beginning of alter. --- src/collection.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/collection.cpp b/src/collection.cpp index 1e07de6c..be392d8b 100644 --- a/src/collection.cpp +++ b/src/collection.cpp @@ -3784,6 +3784,8 @@ Option Collection::batch_alter_data(const std::vector& alter_fields Option Collection::alter(nlohmann::json& alter_payload) { std::unique_lock lock(mutex); + LOG(INFO) << "Collection " << name << " is being prepared for alter..."; + // Validate that all stored documents are compatible with the proposed schema changes. std::vector del_fields; std::vector addition_fields;