tarantool / tarantool/expirationd
Investigate how to support the use-cases from indexpiration
Open
@ArtDu is already working on this.
Since Apr 12, 2021.
analysis
customer
- Dominant language
- Lua
- Stars
- 49
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Currently, expirationd does not support iteration over a (secondary) index (since the expriration check callback must be applied to each tuple from a space). This creates a situation where a full scan is applied instead of selecting tuples from some start index value.
TODO:
- Investigate how indices are used in the current expirationd implementation (check how the primary index is used, is it possible to iterate over a complex primary index, simple or complex secondary index)
- Propose a RFC for changing the API to support iterating over a specified index or a field (the minimal satisfying index must be chosen in this case if it exists)
- Check how the module is initialized: is it possible to reload the configuration and any created fibers or the internal state at runtime, thus supporting the "hot reload" feature
- Propose a RFC for changes to support the "hot reload" feature
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.