{"action":"opened","issue":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/2278","labels_url":"https://api.github.com/repos/mperham/sidekiq/issues/2278/labels{/name}","comments_url":"https://api.github.com/repos/mperham/sidekiq/issues/2278/comments","events_url":"https://api.github.com/repos/mperham/sidekiq/issues/2278/events","html_url":"https://github.com/mperham/sidekiq/issues/2278","id":65534831,"number":2278,"title":"Redis down for some seconds -> previous record gets deleted","user":{"login":"SaschaKrause","id":3459871,"avatar_url":"https://avatars.githubusercontent.com/u/3459871?v=3","gravatar_id":"","url":"https://api.github.com/users/SaschaKrause","html_url":"https://github.com/SaschaKrause","followers_url":"https://api.github.com/users/SaschaKrause/followers","following_url":"https://api.github.com/users/SaschaKrause/following{/other_user}","gists_url":"https://api.github.com/users/SaschaKrause/gists{/gist_id}","starred_url":"https://api.github.com/users/SaschaKrause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaschaKrause/subscriptions","organizations_url":"https://api.github.com/users/SaschaKrause/orgs","repos_url":"https://api.github.com/users/SaschaKrause/repos","events_url":"https://api.github.com/users/SaschaKrause/events{/privacy}","received_events_url":"https://api.github.com/users/SaschaKrause/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-31T20:08:02Z","updated_at":"2015-03-31T20:08:02Z","closed_at":null,"body":"Hi,\r\nwe are using a Sidekiq worker in a normal controller like that:\r\n\r\n```\r\nresult = Result.new(name: \"hello\")\r\nresult.save!\r\n\r\nDoStuffWithResultWorker.perform_async(result.id)\r\n```\r\n\r\nThis is working perfectly when redis is up and running. But IF redis is down for some seconds, the results get not stored (result.save!). Still, the results record had to be there for a short time, because the result.id was a correct id (just the record in the DB is not there).\r\n\r\nAm I missing something? Is this by design? \r\nPS: I'm not calling it from an ActiveRecord::Base.transaction\r\n\r\n"}}