{"action":"created","issue":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/2120","labels_url":"https://api.github.com/repos/mperham/sidekiq/issues/2120/labels{/name}","comments_url":"https://api.github.com/repos/mperham/sidekiq/issues/2120/comments","events_url":"https://api.github.com/repos/mperham/sidekiq/issues/2120/events","html_url":"https://github.com/mperham/sidekiq/issues/2120","id":53626988,"number":2120,"title":"Strange behavior of Sidekiq Pro's Reliability feature","user":{"login":"mkaschenko","id":130269,"avatar_url":"https://avatars.githubusercontent.com/u/130269?v=3","gravatar_id":"","url":"https://api.github.com/users/mkaschenko","html_url":"https://github.com/mkaschenko","followers_url":"https://api.github.com/users/mkaschenko/followers","following_url":"https://api.github.com/users/mkaschenko/following{/other_user}","gists_url":"https://api.github.com/users/mkaschenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mkaschenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkaschenko/subscriptions","organizations_url":"https://api.github.com/users/mkaschenko/orgs","repos_url":"https://api.github.com/users/mkaschenko/repos","events_url":"https://api.github.com/users/mkaschenko/events{/privacy}","received_events_url":"https://api.github.com/users/mkaschenko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-07T12:20:57Z","updated_at":"2015-02-13T00:35:16Z","closed_at":"2015-01-07T17:36:07Z","body":"Hello, @mperham. Thank you for the gem!\r\n\r\nI face strange behavior of Sidekiq Pro's Reliability feature [1].\r\n\r\nI have TestWorker [2]. Also I use 'weighted random' fetch algorithm [3].\r\nI run sidekiq the same way as in [3] and push the worker (TestWorker.perform_async).\r\nI kill the sidekiq process (kill -9 pid).\r\nI run sidekiq again.\r\n\r\nAnd now 2 TestWorkers run instead of 1.\r\nIf I change the weight `sidekiq ... -q default,2 ...` to `sidekiq ... -q default,5 ...`, then 5 TestWorkers run and so on.\r\n\r\nWhat do you think about it?\r\n\r\n[1] https://github.com/mperham/sidekiq/wiki/Reliability\r\n[2] https://gist.github.com/mkaschenko/24da18c795962da3c970\r\n[3] https://github.com/mperham/sidekiq/wiki/Reliability#weighted-random-algorithm"},"comment":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/comments/74183854","html_url":"https://github.com/mperham/sidekiq/issues/2120#issuecomment-74183854","issue_url":"https://api.github.com/repos/mperham/sidekiq/issues/2120","id":74183854,"user":{"login":"mperham","id":2911,"avatar_url":"https://avatars.githubusercontent.com/u/2911?v=3","gravatar_id":"","url":"https://api.github.com/users/mperham","html_url":"https://github.com/mperham","followers_url":"https://api.github.com/users/mperham/followers","following_url":"https://api.github.com/users/mperham/following{/other_user}","gists_url":"https://api.github.com/users/mperham/gists{/gist_id}","starred_url":"https://api.github.com/users/mperham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mperham/subscriptions","organizations_url":"https://api.github.com/users/mperham/orgs","repos_url":"https://api.github.com/users/mperham/repos","events_url":"https://api.github.com/users/mperham/events{/privacy}","received_events_url":"https://api.github.com/users/mperham/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T00:35:16Z","updated_at":"2015-02-13T00:35:16Z","body":"show us your queue configuration. \n\n\n> On Feb 12, 2015, at 16:29, Reid Parham <notifications@github.com> wrote:\n> \n> Sorry, I was unclear: it was an upgrade from sidekiq-pro 1.9.1 to sidekiq-pro 1.9.2.\n> \n> Ruby version: 2.1.5 x86_64-linux 2014-11-13\n> Rails version: 3.2.21\n> Current Sidekiq versions in Gemfile.lock:\n> \n>     sidekiq (3.2.6)\n>       celluloid (= 0.15.2)\n>       connection_pool (>= 2.0.0)\n>       json\n>       redis (>= 3.0.6)\n>       redis-namespace (>= 1.3.1)\n>     sidekiq-pro (1.9.2)\n>       sidekiq (>= 3.2.3)\n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}