Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Feature] JournalStore should be able to partition by date #26

Open
cstamas opened this issue May 28, 2014 · 1 comment
Open

[New Feature] JournalStore should be able to partition by date #26

cstamas opened this issue May 28, 2014 · 1 comment

Comments

@cstamas
Copy link
Contributor

cstamas commented May 28, 2014

Or even something more generic solution, like some Function<Something, PartitionId> and on new partition ID KZ would close current, create new one and append....

Then, "specialisations" could be things like:

  • ByCalendarDayFunction
  • ByCalendarYearFunction
  • BySomeAppSpecificRecordContentFunction
  • ...

Just throwing in idea.

FTR: this comes from NX Timeline, where journal could be partitioned "by calendar day", purge operation would become nearly trivial, as it would become just dropping closed partitions that are older than N days.

@sunnygleason
Copy link
Contributor

This is an awesome feature request. Other things may take priority, but I will schedule this as soon as I can after those because it's especially cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants