1. 09 Aug, 2018 7 commits
    • Marc Gravell's avatar
      Merge branch 'master' into pipelines · 4054ad34
      Marc Gravell authored
      4054ad34
    • Nick Craver's avatar
      Add UNLINK as .KeyDelete() automatic usage underneath (#910) · 3dc56ba1
      Nick Craver authored
      * Add UNLINK as .KeyUnlink()
      
      Submitting as a PR so test as reuable, but maybe we want this as an overload via some enum on .KeyDelete() instead? I'm good either way, but getting the ball rolling on #909 here.
      
      * Add feature check for UNLINK
      
      Ah right, 4.0.0+ only...
      
      * Move UNLINK behind KeyDelete() and always call it if available
      
      We still weren't testing Delete(Async)() in general, so tests added there. I've confirmed this is running DEL against 3.x and UNLINK against 5.x.
      
      * Move GetDeleteCommand after the methods (consistent with rest of the file)
      3dc56ba1
    • Nick Craver's avatar
      Simplify Position down into RedisValue (#912) · a4d087f6
      Nick Craver authored
      Not 100% sure this is what we figured out, but good first pass at getting there if not.
      a4d087f6
    • Nick Craver's avatar
      823aaad6
    • Nick Craver's avatar
      Merge branch 'master' into pipelines · e8f6b512
      Nick Craver authored
      e8f6b512
    • Todd Tingen's avatar
      Eliminate the need for Stream magic strings & added additional XGROUP… (#878) · ea85ae80
      Todd Tingen authored
      * Eliminate the need for Stream magic strings & added additional XGROUP subcommands.
      
      - Replaced the need for magic strings with Range, ReadOffset, and GroupReadOffset structs.
      - Condensed some of the method signatures due to the new structs.
      - Added methods & tests for two of the XGROUP subcommands (DESTROY & DELCONSUMER).
      
      * Updated tests with their original IDs used.
      
      * Use a single struct to represent stream position for Group, Read, and ReadGroup commands.
      
      - Consolidated GroupCreateOptions, GroupReadOffset, and ReadOffset into a single struct, Position.
      - Removed the "Pair" structs and created StreamPosition, this will be used in the multi-stream read commands.
      - Renamed RedisStreamEntry to StreamEntry.
      - Also added the remaining subcommand for the XGROUP command (SETID) and an associated unit test.
      
      * File cleanup, delete consolidated structs.
      
      * Additional changes and unit tests for the Position struct.
      
      * Update PositionKind enum with explicit zero value.
      ea85ae80
    • Nick Craver's avatar
      Cleanup .csproj a bit · 0c2e6ddc
      Nick Craver authored
      0c2e6ddc
  2. 08 Aug, 2018 17 commits
  3. 06 Aug, 2018 8 commits
  4. 04 Aug, 2018 2 commits
    • Nick Craver's avatar
      Sockets: disable NoLinger · ac64b29b
      Nick Craver authored
      This is likely causing some fail as we're not sure everything has been sent. If we *can* be sure, it'd be safe to close it early, otherwise we need to eat the TIME_WAIT.
      
      Buuuuuuut now that I think about it. Linger only works inherently *when there's data left to write*. If our data is *in the pipe* and not yet *in the socket buffer*, we'd be killing it early. This may explain several failures, especially inconsistent and under-load ones.
      
      We really need to figure out how to best close the socket *when the pipe is done* in the Dispose() case. /cc @mgravell
      ac64b29b
    • Nick Craver's avatar
      afe383f3
  5. 03 Aug, 2018 6 commits