You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2017/04/07 12:34:41 UTC

[jira] [Comment Edited] (CASSANDRA-13425) nodetool refresh should try to insert new sstables in existing leveling

    [ https://issues.apache.org/jira/browse/CASSANDRA-13425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960692#comment-15960692 ] 

Marcus Eriksson edited comment on CASSANDRA-13425 at 4/7/17 12:34 PM:
----------------------------------------------------------------------

https://github.com/krummas/cassandra/commits/marcuse/nodetoolrefresh

Uses the same approach as tools/bin/sstableofflinerelevel - it sorts the new sstables by last token to get the smallest (by token range) sstables first, then tries to insert them in the leveling, starting with the highest populated level.


was (Author: krummas):
https://github.com/krummas/cassandra/commits/marcuse/nodetoolrefresh

Uses the same approach as tools/bin/sstableofflinerelevel - it sorts the sstables by last token to get the smallest (by token range) sstables first, then tries to insert them in the leveling, starting with the highest populated level.

> nodetool refresh should try to insert new sstables in existing leveling
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-13425
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13425
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>             Fix For: 4.x
>
>
> Currently {{nodetool refresh}} sets level to 0 on all new sstables, instead we could try to find gaps in the existing leveling and insert them there.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)