[
https://issues.apache.org/jira/browse/CASSANDRA-17180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17529843#comment-17529843
]
Stefan Miklosovic commented on CASSANDRA-17180:
-----------------------------------------------
Thanks both for the review.
I noticed we are duplicating the object mapper as it was in snapshots as well
but I wanted to address this later to take a look what other object mappers we
use elsewhere and I would unify it in next ticket. I checked it and besides
these object mappers in snapshot manifest and heartbeat file, there is one more
in org.apache.cassandra.cql3.Json.
That object mapper is reading only, it does not write anything, so it is nicely
replaceable by this one unified object mapper where we only changed
serialisation of Instant which does not clash with how object mapper in JSON is
deserialising stuff. However, I would really leave this out as it is out of the
scope of this ticket and might be addressed later.
Anyway, I incorporated the changes of Paulo to have unification done at least
on these two mappers.
> Implement startup check to prevent Cassandra start to spread zombie data
> ------------------------------------------------------------------------
>
> Key: CASSANDRA-17180
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17180
> Project: Cassandra
> Issue Type: New Feature
> Components: Legacy/Observability
> Reporter: Stefan Miklosovic
> Assignee: Stefan Miklosovic
> Priority: Normal
> Fix For: 4.1
>
> Time Spent: 12h 10m
> Remaining Estimate: 0h
>
> As already discussed on ML, it would be nice to have a service which would
> periodically write timestamp to a file signalling it is up / running.
> Then, on the startup, we would read this file and we would determine if there
> is some table which gc grace is behind this time and we would fail the start
> so we would prevent zombie data to be likely spread around a cluster.
> https://lists.apache.org/thread/w4w5t2hlcrvqhgdwww61hgg58qz13glw
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]