turboFei opened a new pull request, #19169:
URL: https://github.com/apache/iceberg/pull/19169
`EqualityConvertPKIndex#processElement` logs `Index generation changed from
{} to {} (snapshot {}), clearing state` at info level. The PK index is keyed by
primary key, so every key goes through this branch once per index rebuild: on
the first build (generation `null` -> 1), and again on every later rebuild. A
rebuild of a table with N rows writes N info log lines.
In a local run with a 2M row table, the first index build wrote about 830k
of these lines in 4.5 minutes. The build did not finish in that time, and the
checkpoints of the writing job stalled behind it. With the logger at debug
level, the same build took about 4 seconds. Flink deployments log at info level
by default, so a rebuild of a large table can also fill up the log storage.
This logs the message at debug level. Per-cycle information stays at info
level, e.g. the planner's `Reindexing worker index from main snapshot ...` and
the DV writer's summary.
The change is in Flink 2.3 only. I will backport it to 1.20 and 2.2 in a
follow-up PR.
Generated with Claude Code
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]