You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Created) (JIRA)" <ji...@apache.org> on 2011/11/08 04:22:52 UTC

[jira] [Created] (CASSANDRA-3470) Add a second letter to Descriptor version

Add a second letter to Descriptor version
-----------------------------------------

                 Key: CASSANDRA-3470
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3470
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Jonathan Ellis
            Assignee: Yuki Morishita
            Priority: Minor
             Fix For: 1.0.3


Versions g and h are actually forwards-compatible with version f, and more changes like that are easily forseeable (e.g., CASSANDRA-3407).

It would be nice to have an extra version digit (h1, h2, ... ha, hb, ...). Otherwise our choices are forcing people to scrub for these changes (unacceptable) or not updating the Descriptor version, which is suboptimal since we don't know what the contents are until we try to read it and find the latest parts missing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3470) Add a second letter to Descriptor version

Posted by "Yuki Morishita (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuki Morishita updated CASSANDRA-3470:
--------------------------------------

    Attachment: 3470.txt

Patch attached to allow extra version digit. Propose new version format is as follows.

{code}[a-z][0-9a-z]*{code}
                
> Add a second letter to Descriptor version
> -----------------------------------------
>
>                 Key: CASSANDRA-3470
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3470
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Yuki Morishita
>            Priority: Minor
>             Fix For: 1.0.3
>
>         Attachments: 3470.txt
>
>
> Versions g and h are actually forwards-compatible with version f, and more changes like that are easily forseeable (e.g., CASSANDRA-3407).
> It would be nice to have an extra version digit (h1, h2, ... ha, hb, ...). Otherwise our choices are forcing people to scrub for these changes (unacceptable) or not updating the Descriptor version, which is suboptimal since we don't know what the contents are until we try to read it and find the latest parts missing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3470) Add a second letter to Descriptor version

Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146311#comment-13146311 ] 

Jonathan Ellis commented on CASSANDRA-3470:
-------------------------------------------

Adding an extra "digit" here is hardly confusing, and pales next to the benefit of being able to add forwards-compatible improvements to sstable metadata without breaking streaming (the reason you need to scrub) between minor releases.
                
> Add a second letter to Descriptor version
> -----------------------------------------
>
>                 Key: CASSANDRA-3470
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3470
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Yuki Morishita
>            Priority: Minor
>             Fix For: 1.0.3
>
>
> Versions g and h are actually forwards-compatible with version f, and more changes like that are easily forseeable (e.g., CASSANDRA-3407).
> It would be nice to have an extra version digit (h1, h2, ... ha, hb, ...). Otherwise our choices are forcing people to scrub for these changes (unacceptable) or not updating the Descriptor version, which is suboptimal since we don't know what the contents are until we try to read it and find the latest parts missing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (CASSANDRA-3470) Add a second letter to Descriptor version

Posted by "Yuki Morishita (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146976#comment-13146976 ] 

Yuki Morishita edited comment on CASSANDRA-3470 at 11/9/11 12:14 PM:
---------------------------------------------------------------------

Patch attached to allow extra version digit. Propose new version format as follows.

{code}[a-z][0-9a-z]*{code}
                
      was (Author: yukim):
    Patch attached to allow extra version digit. Propose new version format is as follows.

{code}[a-z][0-9a-z]*{code}
                  
> Add a second letter to Descriptor version
> -----------------------------------------
>
>                 Key: CASSANDRA-3470
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3470
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Yuki Morishita
>            Priority: Minor
>             Fix For: 1.0.3
>
>         Attachments: 3470.txt
>
>
> Versions g and h are actually forwards-compatible with version f, and more changes like that are easily forseeable (e.g., CASSANDRA-3407).
> It would be nice to have an extra version digit (h1, h2, ... ha, hb, ...). Otherwise our choices are forcing people to scrub for these changes (unacceptable) or not updating the Descriptor version, which is suboptimal since we don't know what the contents are until we try to read it and find the latest parts missing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3470) Add a second letter to Descriptor version

Posted by "Radim Kolar (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146176#comment-13146176 ] 

Radim Kolar commented on CASSANDRA-3470:
----------------------------------------

version number would be confusing because there is also sstable number appended. Keep it simple.

Scrub on updates is fine, its quite fast operation. Compaction is worse.
                
> Add a second letter to Descriptor version
> -----------------------------------------
>
>                 Key: CASSANDRA-3470
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3470
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Yuki Morishita
>            Priority: Minor
>             Fix For: 1.0.3
>
>
> Versions g and h are actually forwards-compatible with version f, and more changes like that are easily forseeable (e.g., CASSANDRA-3407).
> It would be nice to have an extra version digit (h1, h2, ... ha, hb, ...). Otherwise our choices are forcing people to scrub for these changes (unacceptable) or not updating the Descriptor version, which is suboptimal since we don't know what the contents are until we try to read it and find the latest parts missing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira