{"action":"created","issue":{"url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/838","repository_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis","labels_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/838/labels{/name}","comments_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/838/comments","events_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/838/events","html_url":"https://github.com/StackExchange/StackExchange.Redis/issues/838","id":326803035,"node_id":"MDU6SXNzdWUzMjY4MDMwMzU=","number":838,"title":"Multi-key operations in cluster","user":{"login":"danieljohannsen","id":8985253,"node_id":"MDQ6VXNlcjg5ODUyNTM=","avatar_url":"https://avatars2.githubusercontent.com/u/8985253?v=4","gravatar_id":"","url":"https://api.github.com/users/danieljohannsen","html_url":"https://github.com/danieljohannsen","followers_url":"https://api.github.com/users/danieljohannsen/followers","following_url":"https://api.github.com/users/danieljohannsen/following{/other_user}","gists_url":"https://api.github.com/users/danieljohannsen/gists{/gist_id}","starred_url":"https://api.github.com/users/danieljohannsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieljohannsen/subscriptions","organizations_url":"https://api.github.com/users/danieljohannsen/orgs","repos_url":"https://api.github.com/users/danieljohannsen/repos","events_url":"https://api.github.com/users/danieljohannsen/events{/privacy}","received_events_url":"https://api.github.com/users/danieljohannsen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-05-27T09:56:52Z","updated_at":"2018-07-09T09:35:08Z","closed_at":"2018-07-09T09:35:08Z","author_association":"NONE","body":"In a Redis cluster, I get the following error message when retrieving a RedisValue array by parsing a RedisKey array in StringGet():\r\n\r\n> Multi-key operations must involve a single slot; keys can use 'hash tags' to help this, i.e. '{/users/12345}/account' and '{/users/12345}/contacts' will always be in the same slot\r\n\r\n`at StackExchange.Redis.ServerSelectionStrategy.Select(Message message) at StackExchange.Redis.ConnectionMultiplexer.TryPushMessageToBridge[T](Message message, ResultProcessor`1 processor, ResultBox`1 resultBox, ServerEndPoint& server) at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server) at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor`1 processor, ServerEndPoint server) `\r\n\r\nWhat can I do to solve this?"},"comment":{"url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/comments/403419762","html_url":"https://github.com/StackExchange/StackExchange.Redis/issues/838#issuecomment-403419762","issue_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/838","id":403419762,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzQxOTc2Mg==","user":{"login":"mgravell","id":17328,"node_id":"MDQ6VXNlcjE3MzI4","avatar_url":"https://avatars3.githubusercontent.com/u/17328?v=4","gravatar_id":"","url":"https://api.github.com/users/mgravell","html_url":"https://github.com/mgravell","followers_url":"https://api.github.com/users/mgravell/followers","following_url":"https://api.github.com/users/mgravell/following{/other_user}","gists_url":"https://api.github.com/users/mgravell/gists{/gist_id}","starred_url":"https://api.github.com/users/mgravell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgravell/subscriptions","organizations_url":"https://api.github.com/users/mgravell/orgs","repos_url":"https://api.github.com/users/mgravell/repos","events_url":"https://api.github.com/users/mgravell/events{/privacy}","received_events_url":"https://api.github.com/users/mgravell/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T09:35:08Z","updated_at":"2018-07-09T09:35:08Z","author_association":"CONTRIBUTOR","body":"I've added a `GetHashSlot` method into the 2.0 code to make this possible for app-code without having to implement the algorithm, and tests that illustrate usage. After consideration, I *do not* propose to change the varadic multi-string get - IMO it should be obvious and explicit to callers that something unusual is happening, which this would mask. There is non-trivial cost associated with this kind of scatter/gather operation over multiple nodes. We might reconsider that as a separate issue in due course"}}
{"actor":{"display_login":"mgravell"}}