From 1878f122d050a98c8c82b9410ad667d91b3a037d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Misbach?= Date: Wed, 16 Oct 2024 13:34:13 +0200 Subject: [PATCH] [cmd] Add warning log about performance impact in 'db-manager evict' --- cmds/db-manager/cleanup/evict.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmds/db-manager/cleanup/evict.go b/cmds/db-manager/cleanup/evict.go index 1bcb11fe3..2ffca90a3 100644 --- a/cmds/db-manager/cleanup/evict.go +++ b/cmds/db-manager/cleanup/evict.go @@ -38,6 +38,7 @@ func evict(cmd *cobra.Command, _ []string) error { ctx = cmd.Context() threshold = time.Now().Add(-*ttl) ) + log.Printf("WARNING: The usage of this tool may have an impact on performance when deleting entities. Read more in the README.") scdStore, err := getSCDStore(ctx) if err != nil {