File change monitoring on s3_auth#8905
Conversation
moonchen
commented
Jun 10, 2022
- Add a file change monitoring API in iocore.
- Use it to monitor config changes for s3_auth via a --watch-config flag.
|
Hi @moonchen. I know it's just a draft, but it might be good to add the license header to the top of the following files so that CI can proceed beyond the RAT (license) check: https://ci.trafficserver.apache.org/job/Github_Builds/job/rat/1163/console |
|
[approve ci autest] |
duke8253
left a comment
There was a problem hiding this comment.
Looks reasonable to me, just a few things needs fixing.
-Add a file change monitoring API -Use it to monitor config changes for s3_auth
-Remove unused constant -Newlines
e57e862 to
2806fd5
Compare
|
Addressed comments and rebased. |
bneradt
left a comment
There was a problem hiding this comment.
Adding a simple observation I noticed when merging this into our internal branch.
| < Age: 0 | ||
| < Transfer-Encoding: chunked | ||
| < Connection: keep-alive | ||
| < Server: ATS/9.2.0 |
There was a problem hiding this comment.
We'll want to update this so it accommodates other releases, otherwise this test will fail when run on different branches.:
< Server: ``
There was a problem hiding this comment.
Nice catch! I'll make this change.
| < Age: 0 | ||
| < Transfer-Encoding: chunked | ||
| < Connection: keep-alive | ||
| < Server: ATS/9.2.0 |
|
We also need to make sure this goes into master. That might require a separate PR since this was filed against 9.2.x? |
This reverts commit e93063e. PR apache#8905 was accidentally filed against 9.2.x instead of master. @moonchen filed a new PR for master via apache#8960, so the work will continue with that PR. Since this patch is not intended for 9.2.x, this PR reverts the commit.
This reverts commit e93063e. This went into the wrong branch, and we'll redo for 10.0.0.
This reverts commit e93063e. This went into the wrong branch, and we'll redo for 10.0.0.
* asf/9.2.x: (22 commits) Updated ChangeLog Add 5xx's to be allowed to be used for simple retries (apache#8518) Extend milestone api time tracking to remap. (apache#8520) Destroy ssl context after use. (apache#8531) Proxy Verifier: Update to version 2.4.1 (apache#8965) Fixes issue with file size calculation for existing logs (apache#8971) Fix reverting PR#7302 (apache#8975) add a metric to track how often the range seek bug is detected (apache#8970) Updated ChangeLog Revert "File change monitoring on s3_auth (apache#8905)" .fit/fmt/.clang-format-installed prerequisite (apache#8950) Make the autopep8 clang-format targets quieter (apache#8944) Add option to disable JIT in lua plugin (apache#8618) Fix doc formatting for plugin remap_stats (apache#8942) Fix doc formatting for rate_limit plugin (apache#8943) Clear lua plugin http context after each hook handler (apache#8607) LGTM: Remove function declaration in block (HdrHeap.cc) (apache#8588) ESI processing when origin returns 304 response (apache#8563) call je_dallocx with flags when needed (apache#8547) Updated ChangeLog ... Conflicts: CHANGELOG-9.2.0