Update src/server/generic_family.cc

Co-authored-by: Roman Gershman <roman@dragonflydb.io>
Signed-off-by: Volodymyr Yavdoshenko <v.yavdoshenko@gmail.com>
This commit is contained in:
Volodymyr Yavdoshenko 2025-04-28 10:49:55 +03:00 committed by GitHub
parent 8a3fee28c1
commit 74af6a6d61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -870,7 +870,7 @@ OpResult<void> OpRen(const OpArgs& op_args, string_view from_key, string_view to
is_prior_list = (to_res.it->second.ObjType() == OBJ_LIST);
}
// Delete the document from the search index before deleting from the database
// Delete the "from" document from the search index before deleting from the database
op_args.shard->search_indices()->RemoveDoc(from_key, op_args.db_cntx, from_res.it->second);
bool sticky = from_res.it->first.IsSticky();