apache / accumulo

Apache Accumulo
https://accumulo.apache.org
Apache License 2.0
1.07k stars 445 forks source link

Incorrect compaction configuration condition not cleared #4950

Open dlmarion opened 1 month ago

dlmarion commented 1 month ago

The TabletGroupWatcher checks the compaction configuration here:

https://github.com/apache/accumulo/blob/9a460ce3a8f506bbde2006954519a48f4aac6a15/server/manager/src/main/java/org/apache/accumulo/manager/TabletGroupWatcher.java#L440-L453

If the configuration is invalid, it stops creating compactions until the condition is rectified. I ran into a situation locally where I put an incorrect value for compaction.service.cs1.planner.opts.groups property. I fixed the json and the condition did not clear. I had to restart the Manager for the error to go away.

dlmarion commented 1 month ago

BadCOmpactionServiceConfigIT.testUsingMisconfiguredService tests this condition, will need to reproduce again.