This is an automated email from the ASF dual-hosted git repository. mmiller pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/main by this push: new 3b537e1 Expand note about CompactionStrategy (#297) 3b537e1 is described below commit 3b537e184ead755fbdc1f82d929c0d23038d73cc Author: Mike Miller <mmil...@apache.org> AuthorDate: Thu Oct 28 13:21:45 2021 -0400 Expand note about CompactionStrategy (#297) * Update _posts/release/2020-01-19-accumulo-2.1.0.md Co-authored-by: Keith Turner <ktur...@apache.org> --- _posts/release/2020-01-19-accumulo-2.1.0.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/_posts/release/2020-01-19-accumulo-2.1.0.md b/_posts/release/2020-01-19-accumulo-2.1.0.md index 53a9867..bbb9478 100644 --- a/_posts/release/2020-01-19-accumulo-2.1.0.md +++ b/_posts/release/2020-01-19-accumulo-2.1.0.md @@ -62,9 +62,13 @@ Significant changes were made to how Accumulo compacts files in this release. S The new compaction changes in this release can satisfy this use case while doing a logarithmic amount of work. -CompactionStrategy was deprecated in favor of new public APIs. -See its [javadoc]({% jurl org.apache.accumulo.tserver.compaction.CompactionStrategy %}) -for more information. Github tickets related to these changes: {% ghi 564 %} {% ghi 1605 %} {% ghi 1609 %} {% ghi 1649 %} {% ghi %} +CompactionStrategy was deprecated in favor of new public APIs. CompactionStrategy was never public API as it +used internal types and one of these types `FileRef` was removed in 2.1. Users who have written a CompactionStrategy +can replace `FileRef` with its replacement internal type `StoredTabletFile` but this is not recommended. Since it is +very likely that CompactionStrategy will be removed in a future release, any work put into rewriting a CompactionStrategy +will be lost. It is recommended that users implement CompactionSelector, CompactionConfigurer, and CompactionPlanner instead. The new compaction changes in 2.1 introduce new algorithms for optimally scheduling compactions across multiple thread pools, configuring a deprecated compaction strategy may result is missing out on the benefits of these new algorithms. See +[javadoc]({% jurl org.apache.accumulo.tserver.compaction.CompactionStrategy %}) +for more information. Github tickets related to these changes: {% ghi 564 %} {% ghi 1605 %} {% ghi 1609 %} {% ghi 1649 %} ### External Compactions (experimental)