Tags: StackExchange/StackExchange.Redis
Tags
Docs site: name the maintainer in the footer, not the repository owner Cayman's footer renders "<repository> is maintained by <site.github.owner_name>", and that name comes from whoever owns the repository, so seredis.dev read "StackExchange.Redis is maintained by StackExchange". That is a statement about ownership rather than maintenance, and it isn't true of this project. jekyll-github-metadata merges anything set under `github:` in _config.yml over the values it reads from the API (SiteGitHubMunger#github_namespace is `drop.merge(@original_config)`), so overriding owner_name/owner_url is enough - no layout override, and no copy of the theme's markup to keep in step. Nothing else on the site reads either key; Cayman uses them only in that footer span. The alternative was dropping the line entirely via `is_project_page: false`, but Cayman guards its "View on GitHub" button with the same flag, which we do want.
Add possibility to use different passwords for Sentinel and Redis host ( #1698) (#3140) * Add possibility to use different passwords for sentinel and redis (#1698) * Use correct Sentinel properties in ConfigurationOptions.ToString() * Removed unused usings * - added sentinel user/pw fields to unit test that checks ConfigurationOptions - fixed typos, so fields, not properties, are used on the correct places * Fix test * Use a private _isSentinel instead of serverType * Moved Sentinel credentials usage to HandshakeAsync * another property <-> field mixup fixed Co-authored-by: Marc Gravell <marc.gravell@gmail.com> * another property <-> field mixup fixed Co-authored-by: Marc Gravell <marc.gravell@gmail.com> * Moved Sentinel credentials usage back to SentinelPrimaryConnect(Async) in ConnectionMultiplexer.Sentinel * Restore CodeAnalysis using for [Experimental]; move new API entries to Unshipped --------- Co-authored-by: Marc Gravell <marc.gravell@gmail.com>
Config strings: '!@name' is a Linux abstract Unix socket (socat/syste… …md '@' convention) (#3165) '!name' has always meant a Unix domain socket, but '!@foo' silently produced a PATHNAME socket literally named '@foo' -- the wrong socket, found by nothing. The parse now maps '@' after '!' to the kernel's leading-NUL spelling, Linux-gated (no other platform has the namespace; elsewhere '@' stays a literal filename, matching redis-cli). ToString round-trips for free: UnixDomainSocketEndPoint renders abstract names back as '@name'. Tests: FormatTests gains UDS parse/round-trip coverage (there was NONE, even for pathnames) -- pathname and abstract cells, the latter Linux-gated. Verified live end-to-end besides: a ConnectionMultiplexer built from ConfigurationOptions.Parse("!@se-abs-test,abortConnect=true") against a Garnet listening on the same abstract name, SET/GET round-trip clean, no filesystem footprint.
Throw a clear error when an Execute command contains whitespace (#3122) * Throw a clear error when an Execute command contains whitespace Execute("ACL SETUSER x") passes a whole command line as the single command token, which gets sent as one unknown command and comes back as an opaque server error. Since a redis command token never contains internal whitespace, this is always a caller mistake, so the ExecuteMessage constructor now fails fast with an ArgumentException-style RedisCommandException that names the offending command and shows the correct token-per-argument form. Resolves #2689. Signed-off-by: Arpit Jain <arpitjain099@gmail.com> * test for simple space only limit to simple space; if people are being *that* creative, that's on them * Remove test case for 'echo\thello' command Removed test case for command with tab character. --------- Signed-off-by: Arpit Jain <arpitjain099@gmail.com> Co-authored-by: Marc Gravell <marc.gravell@gmail.com>
Optimize RedisValue / reader logic by using canonical parser and new … …ShortBlob storage kind (#3114) * spike better RedisValue parsing logic * Introduce new storage kind for small payloads (<=8 bytes) - avoids array alloc * fix CI * CI: tweak failing test * tidying (support ulong as canonical)
PreviousNext