-
-
Notifications
You must be signed in to change notification settings - Fork 232
Unable to delete records using LogBatchPurger #986
Copy link
Copy link
Open
Labels
Feature: Log RetentionItems related to LogBatchPurger or LogBatchPurgeSchedulerItems related to LogBatchPurger or LogBatchPurgeSchedulerLayer: Log ManagementItems related to the custom objects & Logger Console appItems related to the custom objects & Logger Console appSalesforce limitationType: BugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
Feature: Log RetentionItems related to LogBatchPurger or LogBatchPurgeSchedulerItems related to LogBatchPurger or LogBatchPurgeSchedulerLayer: Log ManagementItems related to the custom objects & Logger Console appItems related to the custom objects & Logger Console appSalesforce limitationType: BugSomething isn't workingSomething isn't working
Package Edition of Nebula Logger
Managed Package
Package Version of Nebula Logger
4.16
New Bug Summary
Hi Team,
We have installed the Nebula logger package in our prod org, but we didnt start the batch to purge the record.
Now , Log, LogEntry and LogEntryTag is holding 100M records. When we started the batch, we are getting error that request ran for too long and batch job is failing. Do we have any other way to delete the records.
When we are trying to delete manually, we are getting unable to lock row error as it is trying to modify the totalLogEntries field on loggertag object and as multiple log entries are tied with same LoggerTag, we are getting this error.
Can you help me understand how LoggerTag record get created? Can we delete all the loggerTag first, and then try to delete the other records? Will that work.
-Abhinav