{"action":"closed","issue":{"url":"https://api.github.com/repos/scylladb/scylla/issues/1317","repository_url":"https://api.github.com/repos/scylladb/scylla","labels_url":"https://api.github.com/repos/scylladb/scylla/issues/1317/labels{/name}","comments_url":"https://api.github.com/repos/scylladb/scylla/issues/1317/comments","events_url":"https://api.github.com/repos/scylladb/scylla/issues/1317/events","html_url":"https://github.com/scylladb/scylla/issues/1317","id":158610461,"number":1317,"title":"nodetool cleanup - resets level of files when cleaning them up - instead on leaving currnet level","user":{"login":"slivne","id":3465480,"avatar_url":"https://avatars.githubusercontent.com/u/3465480?v=3","gravatar_id":"","url":"https://api.github.com/users/slivne","html_url":"https://github.com/slivne","followers_url":"https://api.github.com/users/slivne/followers","following_url":"https://api.github.com/users/slivne/following{/other_user}","gists_url":"https://api.github.com/users/slivne/gists{/gist_id}","starred_url":"https://api.github.com/users/slivne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slivne/subscriptions","organizations_url":"https://api.github.com/users/slivne/orgs","repos_url":"https://api.github.com/users/slivne/repos","events_url":"https://api.github.com/users/slivne/events{/privacy}","received_events_url":"https://api.github.com/users/slivne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scylladb/scylla/labels/bug","name":"bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"raphaelsc","id":1409139,"avatar_url":"https://avatars.githubusercontent.com/u/1409139?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaelsc","html_url":"https://github.com/raphaelsc","followers_url":"https://api.github.com/users/raphaelsc/followers","following_url":"https://api.github.com/users/raphaelsc/following{/other_user}","gists_url":"https://api.github.com/users/raphaelsc/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelsc/subscriptions","organizations_url":"https://api.github.com/users/raphaelsc/orgs","repos_url":"https://api.github.com/users/raphaelsc/repos","events_url":"https://api.github.com/users/raphaelsc/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelsc/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/scylladb/scylla/milestones/14","html_url":"https://github.com/scylladb/scylla/milestones/1.3","labels_url":"https://api.github.com/repos/scylladb/scylla/milestones/14/labels","id":1794296,"number":14,"title":"1.3","description":"","creator":{"login":"tzach","id":170200,"avatar_url":"https://avatars.githubusercontent.com/u/170200?v=3","gravatar_id":"","url":"https://api.github.com/users/tzach","html_url":"https://github.com/tzach","followers_url":"https://api.github.com/users/tzach/followers","following_url":"https://api.github.com/users/tzach/following{/other_user}","gists_url":"https://api.github.com/users/tzach/gists{/gist_id}","starred_url":"https://api.github.com/users/tzach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzach/subscriptions","organizations_url":"https://api.github.com/users/tzach/orgs","repos_url":"https://api.github.com/users/tzach/repos","events_url":"https://api.github.com/users/tzach/events{/privacy}","received_events_url":"https://api.github.com/users/tzach/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":5,"state":"open","created_at":"2016-05-29T08:33:00Z","updated_at":"2016-06-14T05:06:08Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-06-06T06:44:59Z","updated_at":"2016-06-14T05:06:08Z","closed_at":"2016-06-14T05:06:08Z","body":"Scylla version (or git commit hash): 1.1\r\n\r\nOn cassandra\r\n\r\n```\r\nccm create cas-2  --vnodes -n 2 --install-dir=~/scylla-tools-java\r\nccm node1 start\r\nccm node1 stress write n=1000000 -mode cql3 native -schema compaction\\(strategy=LeveledCompactionStrategy\\) keyspace=keyspace2 -pop seq=1..100000000000\r\nccm node1 nodetool  flush\r\nvi ~/.ccm/cas2-/node2/conf/cassandra.yaml (change autoboostrap to true, seeds set to 127.0.0.1)\r\nccm node2 start\r\ncheck that streaming ended (e.g. ccm node1 nodetool netstats - does not show on going streaming)\r\ncheck ccm node1 nodetool status - shows that node2 has data\r\ncheck the files in ~/.ccm/cas-2/node1/data/keyspace2-.... (run on them ~/scylla-tools-java/tools/bin/sstablemetadata <*.Statistics.db>\r\nrun ccm node1 nodetool cleanup\r\ncheck the files in ~/.ccm/cas-2/node1/data/keyspace2-.... (run on them ~/scylla-tools-java/tools/bin/sstablemetadata <*.Statistics.db> - the overwritten files have the same level (although data has been removed)\r\n```\r\n\r\nDoing the same on scylla creates new files yet there level is reset to 0 - this will have a bad effect on performance \r\n\r\n"}}
{"actor":{"display_login":"penberg"}}