1. 24 Apr, 2023 5 commits
  2. 23 Apr, 2023 5 commits
  3. 19 Apr, 2023 2 commits
  4. 18 Apr, 2023 2 commits
    • Dridi Boukelmoune's avatar
      stevedore: Log failures to create objects · 5335cf6a
      Dridi Boukelmoune authored
      We only log a Storage record when we successfully create an object, but
      there may be no clue regarding which storage backend failed to allocate.
      We can infer from stevedore VSCs where allocation failures happened, but
      knowing from a VCL transaction which one failed will give a definitive
      answer.
      
      This is logged as an Error record, and the existing FetchError record
      from VFPs ("Could not get storage") is left alone.
      5335cf6a
    • Dridi Boukelmoune's avatar
      cache: It's time for the big quit · 537b74f5
      Dridi Boukelmoune authored
      When mgt sends a command to the cache process, whether it is a period
      ping or an actual operation, it must complete within cli_timeout. When
      the cache fails to meet this requirement, mgt sends a SIGQUIT signal
      to the cache process. As a result the cache process MAY dump a core
      file for post-mortem analysis.
      
      When the core file is missing we are left to our own devices.
      
      To mitigate this, a new signal handler is added for SIGQUIT, but since
      we can't (or don't even try to) guarantee delivery on the CLI thread,
      we make a last-ditch effort to forward SIGQUIT signals to properly
      panic from the CLI thread. With a regular panic we may get both a panic
      report and a core dump.
      
      I didn't add test coverage for this, since we try to avoid intentional
      core dumps in test cases with the `no_coredump` feature flag that turns
      SIGQUIT into a SIGKILL signal.
      537b74f5
  5. 14 Apr, 2023 3 commits
  6. 12 Apr, 2023 2 commits
    • Poul-Henning Kamp's avatar
      Teach the persistent stevedore to fix up pointers if the silo · 22f5e216
      Poul-Henning Kamp authored
      gets remapped a different place.
      
      (This would be horribly slow to run in production.)
      22f5e216
    • Nils Goroll's avatar
      vtest: Allow to inject varnishd arguments via VTEST_VARNISHD_ADD_ARGS · 1a9beb31
      Nils Goroll authored
      This is useful to test extensions with otherwise unaltered varnish test cases,
      for example:
      
      VTEST_VARNISHD_ADD_ARGS='-E/tmp/lib/varnish/vmods/libvmod_slash.so -sfellow=fellow,${tmpdir}/fellow.stv,100MB,1MB,64KB -sTransient=fellow,${tmpdir}/transient.stv,100MB,1MB,64KB' ./varnishtest -i ...
      
      These arguments are added and this injection method does not achieve
      its goal in all cases (e.g. for the example it breaks when other
      stevedore definitions conflict), but it still reduces the cases
      requiring manual intervention substantially.
      1a9beb31
  7. 11 Apr, 2023 3 commits
  8. 09 Apr, 2023 1 commit
  9. 08 Apr, 2023 3 commits
  10. 07 Apr, 2023 3 commits
  11. 06 Apr, 2023 4 commits
  12. 04 Apr, 2023 1 commit
  13. 01 Apr, 2023 4 commits
  14. 29 Mar, 2023 2 commits