cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6505) counters++ global shards 2.0 back port
Date Wed, 08 Jan 2014 20:02:50 GMT


Aleksey Yeschenko commented on CASSANDRA-6505:

bq. Nit: Is there a reason to add GLOBAL_SHARD_INDEX_OFFSET rather than say -x-1 ("à la"
binary search) for global shards? Not that it doesn't work as it is, just that negating would
seem slightly more natural/simpler to me.

I used to have just '-x', but that obviously doesn't work for 0. And 'MIN_VALUE + x' seemed
cleaner than '-x - 1'.

The rest makes sense to me, will do.

> counters++ global shards 2.0 back port
> --------------------------------------
>                 Key: CASSANDRA-6505
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Aleksey Yeschenko
>            Assignee: Aleksey Yeschenko
>             Fix For: 2.0.5
> CASSANDRA-6504 introduces a new type of shard - 'global' - to 2.1. To enable live upgrade
from 2.0 to 2.1, it's necessary that 2.0 nodes are able to understand the new 'global' shards
in the counter contexts.
> 2.0 nodes will not produce 'global' shards, but must contain the merge logic.
> It isn't a trivial code change ("non-trivial code in a non-trivial part of the code"),
hence this separate JIRA issue.

This message was sent by Atlassian JIRA

View raw message