add support for batched index keys removal

This commit is contained in:
ionutboangiu
2025-09-17 19:38:06 +03:00
committed by Dan Christian Bogos
parent 164078bbbb
commit 8d05c14aec
10 changed files with 53 additions and 39 deletions

View File

@@ -79,7 +79,7 @@ func (apierSv1 *APIerSv1) RemoveFilterIndexes(ctx *context.Context, arg *AttrRem
arg.ItemType = utils.CacheAttributeFilterIndexes
tntCtx = utils.ConcatenatedKey(tnt, arg.Context)
}
if err = apierSv1.DataManager.RemoveIndexes(arg.ItemType, tntCtx, utils.EmptyString); err != nil {
if err = apierSv1.DataManager.RemoveIndexes(arg.ItemType, tntCtx); err != nil {
return
}
//generate a loadID for CacheFilterIndexes and store it in database