v.23.8Improvement

Add logging for max_partitions_per_insert_block limit reached

Add ability to log when max_partitions_per_insert_block is reached. #50948 (Sean Haynes).
Add logging to notify when max_partitions_per_insert_block limit is reached during data insertion.

Why it matters

This feature helps users identify when an insert operation exceeds the max_partitions_per_insert_block setting, which limits the maximum number of partitions an insert block can write to. Logging this event aids in debugging and performance tuning by making it clear when the partition limit is a factor affecting data insertion.

How to use it

To enable this feature, ensure the max_partitions_per_insert_block setting is configured as desired. When an insert operation surpasses this limit, a log entry will be generated automatically, providing insight into the event without additional configuration.