gabry-lab opened a new issue, #14487:
URL: https://github.com/apache/iceberg/issues/14487
### Apache Iceberg version
1.10.0 (latest release)
### Query engine
Flink
### Please describe the bug 🐞
`org.apache.iceberg.flink.source.StreamingMonitorFunction` has a sleep to
block current `run` .
However, if the monitor interval is bigger than checkpoint timeout, then the
`cancel-with-savepoint` will fail with timeout errors eventually.
```java
@Override
public void run(SourceContext<FlinkInputSplit> ctx) throws Exception {
this.sourceContext = ctx;
while (isRunning) {
monitorAndForwardSplits();
Thread.sleep(scanContext.monitorInterval().toMillis());
}
}
```
### Willingness to contribute
- [x] I can contribute a fix for this bug independently
- [x] I would be willing to contribute a fix for this bug with guidance from
the Iceberg community
- [x] I cannot contribute a fix for this bug at this time
--
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]