Open sopel39 opened 3 years ago
I'm new to Trino, but I'd like to help. Can you provide pointers on how to start looking into this? Where is the code that handles this? What is "DF?"
For me, I'd like a "good first issue" to contain points like this to make it easier to get started.
@macohen I would start looking at HttpRemoteTask
and DynamicFiltersFetcher
first. Specifically how DF transfer protocol is implemented
Currently, coordinator fetches DF delta between local version and worker version. Coordinator sends it's local version as part of DF request. Worker is free to remove stored DFs based on coordinator local version. However, coordinator does not acknowledge received DFs until next DF is available. Therefore workers can keep DFs locally longer then needed.
This can be resolved by worker artificially bumping DFs version until there are still unacknowledged DFs