Skip to content

Unable to delete records using LogBatchPurger #986

@abhinavk45-debug

Description

@abhinavk45-debug

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions