Hi Flink experts, We're currently experimenting w...
# troubleshooting
i
Hi Flink experts, We're currently experimenting with autoscaling with Flink k8s operator on Flink 1.18 which uses the brand-new in-place rescaling. We noticed a strange thing: after scaling events state size (size of RocksDB sstables) significantly grows. We think this might be the side effect of this new approach: since scaling is in-place, a Task Manager doesn't delete old files from the state, but can get new files, hence the extra size. The problem is that because of this it seems that Task Managers starts having some data they don't own - basically it means we have multiple copies of data. This is a big problem because if we have multiple scaling events in a short span of time - the data can grow quite a lot. In our case it ends up in a death of some Task Managers (and hence the job) due to no disk space left. A few questions: • Is our understanding of the reasons why data grows after scaling events is correct? • If it's correct, is it by design or an issue? • Is there any workaround how we can make autoscaler not to have this side effect? Thanks in advance!
g
It might make sense to open a jira ticket for this, I am not sure why this would happen but it sounds suspicious
👍 1
i
Yeah maybe will open… Wanted to check if it’s a known issue. I think I’ve found the code responsible for this, but don’t have time to setup an easy-to-repeat minimalistic example in order to demonstrate the issue.