Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Offline compaction estimate time

Avatar

Avatar
Validate 1
Level 2
hardik11071994
Level 2

Like

1 like

Total Posts

47 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile

Avatar
Validate 1
Level 2
hardik11071994
Level 2

Like

1 like

Total Posts

47 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
hardik11071994
Level 2

08-06-2021

Request for Feature Enhancement (RFE) Summary: Online compaction not that effective and observed repository growth and which is causing slowness in author. Adobe suggesting to run offline compaction. This offline compaction is very unpredictable process, not sure how long it might take. This idea request is to know if there is any way we estimate how much time it will take before we start offline compaction?
Use-case: Looking for feasibility of developing something which calculate estimate time offline compaction will take.
Current/Experienced Behavior: No way to calculate how long that process take.
Improved/Expected Behavior: If this is possible, we can give clear timeline to business about downtime that needed to run offline compaction and it's very very helpful.
Environment Details (AEM version/service pack, any other specifics if applicable): 6.5.7
Customer-name/Organization name: Hershey's
Screenshot (if applicable):  
Code package (if applicable):  
1 Comment

Avatar

Avatar
Give Back 5
Employee
akashk22786878
Employee

Likes

30 likes

Total Posts

25 posts

Correct Reply

4 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Give Back 5
Employee
akashk22786878
Employee

Likes

30 likes

Total Posts

25 posts

Correct Reply

4 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 5
Boost 3
View profile
akashk22786878
Employee

yesterday

Hi @hardik11071994 

 

Thanks for proposing the idea above.

I see there was already a similar improvement raised in the past GRANITE-11431 where AEM product engineering suggested that it is hard to get right with time and could be error-prone as many of the involved parameters are environment-specific and beyond control so it was suggested that instead of estimating time its better to estimate percentage completed based on the number of nodes compacted and an estimate of the total number of nodes. This could be done via the compaction logs enabled for org.apache.jackrabbit.oak.spi.gc.LoggingGCMonitor via logback configuration file. Let us know if the same has been explored and meet the requirements.

Status changed to: Needs Info