This is an automated email from the ASF dual-hosted git repository. dlmarion pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push: new a264731373 Updated TableOperations javadoc to remove compaction strategy ref (#2921) a264731373 is described below commit a264731373b626eeb0d28155252525f3a06153f7 Author: Dave Marion <dlmar...@apache.org> AuthorDate: Mon Sep 12 12:51:46 2022 -0400 Updated TableOperations javadoc to remove compaction strategy ref (#2921) Compaction strategies have been deprecated in favor of compaction services that are defined on the table. Closes #2833 Co-authored-by: Keith Turner <ktur...@apache.org> --- .../accumulo/core/client/admin/TableOperations.java | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java b/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java index 8d1a798931..da6ed9d050 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java +++ b/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java @@ -428,12 +428,24 @@ public interface TableOperations { /** * Starts a full major compaction of the tablets in the range (start, end]. If the config does not - * specify a compaction strategy, then all files in a tablet are compacted. The compaction is - * performed even for tablets that have only one file. + * specify a compaction selector (or a deprecated strategy), then all files in a tablet are + * compacted. The compaction is performed even for tablets that have only one file. * * <p> - * Only one compact call at a time can pass iterators and/or a compaction strategy. If two threads - * call compaction with iterators and/or a compaction strategy, then one will fail. + * The following optional settings can only be set by one compact call per table at the same time. + * + * <UL> + * <LI>Execution hints : {@link CompactionConfig#setExecutionHints(Map)}</LI> + * <LI>Selector : {@link CompactionConfig#setSelector(PluginConfig)}</LI> + * <LI>Confgigurer : {@link CompactionConfig#setConfigurer(PluginConfig)}</LI> + * <LI>Iterators : {@link CompactionConfig#setIterators(List)}</LI> + * <LI>Compaction strategy : + * {@link CompactionConfig#setCompactionStrategy(CompactionStrategyConfig)}</LI> + * </UL> + * + * <P> + * If two threads call this method concurrently for the same table and set one or more of the + * above then one thread will fail. * * @param tableName * the table to compact