1. 16 Mar, 2022 3 commits
    • Geoff Simmons's avatar
      Add the optional defaultKey field to self-sharding configuration. · 173ee4f4
      Geoff Simmons authored
      XXX: currently only used for sharding by cookie. Will be extended
      for use with all by=KEY cases.
      173ee4f4
    • Geoff Simmons's avatar
    • Geoff Simmons's avatar
      Add self-sharding by cookie value. · 6cdb8cdd
      Geoff Simmons authored
      To ensure that health checks from other Varnish instances succeed
      in the self-sharding configuration, move the clause in vcl_recv
      that is executed when remote.ip matches the ACL for cluster members
      to the start of the subroutine.
      
      XXX: currently returns a synthetic 400 response if the configured
      cookie name is not found in the Cookie header (or if there is no
      Cookie header). In a further iteration, we will add an optional
      field defaultKey, which if present sets a string value to be used
      as the sharding key if the key is not found.
      
      XXX: testing this feature has revealed bugs in sharding by key
      (using by=KEY) unless primaryOnly is also set to true. These will
      be fixed in a further iteration.
      6cdb8cdd
  2. 05 Mar, 2022 1 commit
  3. 04 Mar, 2022 2 commits
  4. 03 Mar, 2022 4 commits
  5. 08 Feb, 2022 1 commit
  6. 07 Feb, 2022 2 commits
  7. 31 Jan, 2022 1 commit
  8. 05 Jan, 2022 1 commit
  9. 10 Nov, 2021 2 commits
  10. 05 Nov, 2021 5 commits
  11. 03 Nov, 2021 18 commits