{"action":"created","issue":{"url":"https://api.github.com/repos/basho/riak/issues/727","labels_url":"https://api.github.com/repos/basho/riak/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak/issues/727/comments","events_url":"https://api.github.com/repos/basho/riak/issues/727/events","html_url":"https://github.com/basho/riak/issues/727","id":68350876,"number":727,"title":"An upgrade to Riak 2.0 from Riak 1.4 (and continuing to use app.config) can lead to sibling generation [JIRA: RIAK-1681]","user":{"login":"roooms","id":4289626,"avatar_url":"https://avatars.githubusercontent.com/u/4289626?v=3","gravatar_id":"","url":"https://api.github.com/users/roooms","html_url":"https://github.com/roooms","followers_url":"https://api.github.com/users/roooms/followers","following_url":"https://api.github.com/users/roooms/following{/other_user}","gists_url":"https://api.github.com/users/roooms/gists{/gist_id}","starred_url":"https://api.github.com/users/roooms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roooms/subscriptions","organizations_url":"https://api.github.com/users/roooms/orgs","repos_url":"https://api.github.com/users/roooms/repos","events_url":"https://api.github.com/users/roooms/events{/privacy}","received_events_url":"https://api.github.com/users/roooms/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/basho/riak/labels/JIRA:%20To%20Do","name":"JIRA: To Do","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"macintux","id":2141278,"avatar_url":"https://avatars.githubusercontent.com/u/2141278?v=3","gravatar_id":"","url":"https://api.github.com/users/macintux","html_url":"https://github.com/macintux","followers_url":"https://api.github.com/users/macintux/followers","following_url":"https://api.github.com/users/macintux/following{/other_user}","gists_url":"https://api.github.com/users/macintux/gists{/gist_id}","starred_url":"https://api.github.com/users/macintux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macintux/subscriptions","organizations_url":"https://api.github.com/users/macintux/orgs","repos_url":"https://api.github.com/users/macintux/repos","events_url":"https://api.github.com/users/macintux/events{/privacy}","received_events_url":"https://api.github.com/users/macintux/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-04-14T12:04:11Z","updated_at":"2015-08-10T16:09:32Z","closed_at":null,"body":"In Riak 1.4 `allow_mult` defaults to `false` and therefore is false if allow_mult is not set in `app.config`.\r\n\r\nDuring an upgrade to Riak 2.0, the `app.config` could continue to be used (therefore stopping the `riak.conf` being used). In this scenario the default bucket-type changes from `allow_mult: false` to `allow_mult: true` potentially resulting in unexpected sibling generation.\r\n\r\nTo reproduce:\r\n\r\n1. Install Riak 2.0\r\n1. Start Riak and check default bucket props\r\n\r\n    ```\r\n    sudo riak-admin bucket-type status default | grep allow_mult\r\n    ```\r\n\r\n1. Stop Riak\r\n1. Copy a default Riak 1.4 `app.config` and `vm.args` in to `/etc/riak/`\r\n1. Start Riak and check default bucket props\r\n\r\n    ```\r\n    sudo riak-admin bucket-type status default | grep allow_mult\r\n    ```\r\n\r\nIn the first instance (with `riak.conf`) I see:\r\n\r\n```\r\nallow_mult: false\r\n```\r\n\r\nIn the second instance (with `app.config`) I see:\r\n\r\n```\r\nallow_mult: true\r\n```\r\n\r\nThis means an upgrade to Riak 2.0 where the app.config continues to be used would result in a change of `allow_mult` setting from `false` to `true` for existing bucket properties."},"comment":{"url":"https://api.github.com/repos/basho/riak/issues/comments/129511543","html_url":"https://github.com/basho/riak/issues/727#issuecomment-129511543","issue_url":"https://api.github.com/repos/basho/riak/issues/727","id":129511543,"user":{"login":"Basho-JIRA","id":9125383,"avatar_url":"https://avatars.githubusercontent.com/u/9125383?v=3","gravatar_id":"","url":"https://api.github.com/users/Basho-JIRA","html_url":"https://github.com/Basho-JIRA","followers_url":"https://api.github.com/users/Basho-JIRA/followers","following_url":"https://api.github.com/users/Basho-JIRA/following{/other_user}","gists_url":"https://api.github.com/users/Basho-JIRA/gists{/gist_id}","starred_url":"https://api.github.com/users/Basho-JIRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Basho-JIRA/subscriptions","organizations_url":"https://api.github.com/users/Basho-JIRA/orgs","repos_url":"https://api.github.com/users/Basho-JIRA/repos","events_url":"https://api.github.com/users/Basho-JIRA/events{/privacy}","received_events_url":"https://api.github.com/users/Basho-JIRA/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T16:09:32Z","updated_at":"2015-08-10T16:09:32Z","body":"I have found an alternative to Sean's approach that works; needs more review to make sure it's as otherwise harmless as I think it is.\r\n\r\nhttps://github.com/basho/riak_core/tree/bugfix/jrd/727 \n\n***[posted via JIRA by John Daily]***"}}