Release v0.2.1
Notable changes
Add support for the WithRetention option (#22)
Data points will get automatically removed from the disk after a specified period of time after a disk partition was created.
storage, err := tstorage.NewStorage(
tstorage.WithDataPath("./data"),
tstorage.WithRetention(time.Hour*24)
)Support writes outside of head partition (#23) by @dpgil
Basically, all data points get ingested into the head partition. But sometimes data points get across the partition boundary, which should get into the next partition. From this version, tstorage doesn't discard them.
Changelog
- fda1a6f Release v0.2.1 (#27) - by @github
- 11d3d74 Remove dependency on deprecated ioutil package - by @nakabonne
- f651d67 Add WithRetention to automatically remove expired data (#22) - by @github
- 2fd043f Handle the case that fakeEncoder doesn't have actual function - by @nakabonne
- 6b08cbe Add notes on used by section - by @nakabonne
- afe10c8 Update notes on data point chunks - by @nakabonne
- 832a382 Support writes outside of head partition (#23) - by @github
- a6fdddc Merge pull request #24 from bartmika/main - by @github
- c9a8484 Included
tstorage-serverto the Used by section. - by @bartmika - b1bbbaf Add interface to clean partition resources - by @nakabonne