-
Notifications
You must be signed in to change notification settings - Fork 851
File change monitoring on s3_auth #8905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
duke8253
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
bneradt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! I'll make this change.
| < Age: 0 | ||
| < Transfer-Encoding: chunked | ||
| < Connection: keep-alive | ||
| < Server: ATS/9.2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above.
|
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