On Sun, Mar 5, 2023 at 11:00 PM Paulo Motta <pauloricard...@gmail.com> wrote:
> I found this a bit surprising, since I would expect a snapshot with the same 
> name on different tables to represent the same logical snapshot taken at the 
> same point-in-time.

I would expect this too, 100%.

> This affects the design of the snapshots virtual table schema on 
> CASSANDRA-18102[1] because the timestamp needs to be included in the primary 
> key to allow distinguishing between different snapshots with the same name, 
> which seems a bit counter-intuitive.
>
> I think we should disallow creating a snapshot if another snapshot already 
> exists with the same name in any other table, so snapshots with the same name 
> on different tables are guaranteed to belong to the same logical 
> point-in-time snapshot.

I agree.  Even if there is a use case for that behavior, it will
almost certainly mislead someone later.

Kind Regards,
Brandon

Reply via email to