This is an automated email from the ASF dual-hosted git repository. amashenkov pushed a commit to branch ignite-22303 in repository https://gitbox.apache.org/repos/asf/ignite-3.git
commit 15f5ef4f66a3d19f2ca23d663c82a244b6d165de Author: amashenkov <[email protected]> AuthorDate: Tue Jul 2 15:20:28 2024 +0300 javadoc --- .../sql/engine/exec/ConcurrentSchemaModificationException.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ConcurrentSchemaModificationException.java b/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ConcurrentSchemaModificationException.java index f142732bf2..b918ea2b08 100644 --- a/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ConcurrentSchemaModificationException.java +++ b/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ConcurrentSchemaModificationException.java @@ -20,7 +20,13 @@ package org.apache.ignite.internal.sql.engine.exec; import org.apache.ignite.internal.lang.IgniteInternalException; import org.apache.ignite.lang.ErrorGroups.Common; -//TODO: javadoc +/** + * Thrown when detected a query uses an outdated query plan in implicit transaction. + * + * <p>Because an implicit transaction starts after query has been planned, there is a chance the schema can be changed in between. + * This internal exception is not intended to be thrown up to the user, instead, it must be catched internally, + * and lead the query falling back to the planning phase. + */ public class ConcurrentSchemaModificationException extends IgniteInternalException { public ConcurrentSchemaModificationException() { super(Common.INTERNAL_ERR);
