Do you need to support TTLs? That might be a bit of an issue. On Sat, Jan 13, 2018 at 12:41 PM Arthur Kushka <arhel...@gmail.com> wrote:
> Hi folks, > > Currently, I working on custom CQL operator that should return the max > timestamp for some partition. > > I don't think that scanning of partition for that kind of data is a nice > idea. Instead of it, I thinking about adding a metadata to the partition. I > want to store minTimestamp and maxTimestamp for every partition as it > already done in Memtable`s. That timestamps will be updated on each > mutation operation, that is quite cheap in comparison to full scan. > > I quite new to Cassandra codebase and want to get some critics and ideas, > maybe that kind of data already stored somewhere or you have better ideas. > Is my assumption right? > > Best, > Artur >