Skip to content
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

pacific: rgw: add abstraction for ops log destination and add file logger #43740

Merged
merged 2 commits into from Nov 3, 2021

Conversation

cfsnyder
Copy link
Contributor

backport tracker: https://tracker.ceph.com/issues/53091


backport of #43329
parent tracker: https://tracker.ceph.com/issues/48752

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh

@cfsnyder cfsnyder added this to the pacific milestone Oct 29, 2021
@cfsnyder cfsnyder added the rgw label Oct 29, 2021
@cfsnyder cfsnyder force-pushed the wip-53091-pacific branch 3 times, most recently from cba5556 to 83122ed Compare October 29, 2021 19:22
@cfsnyder cfsnyder force-pushed the wip-53091-pacific branch 3 times, most recently from ef2fd28 to 5377fc9 Compare October 29, 2021 20:48
@cbodley
Copy link
Contributor

cbodley commented Oct 31, 2021

please make sure the commit from #43751 gets cherry-picked here after it merges to master

@cbodley cbodley added the DNM label Oct 31, 2021
cfsnyder and others added 2 commits November 1, 2021 15:07
Adds an OpsLogSink abstraction for ops log destinations. Also implements
this abstraction for a file logger since it's easier to use files vs.
sockets with containers.

Fixes: https://tracker.ceph.com/issues/48752
Signed-off-by: Cory Snyder <csnyder@iland.com>
(cherry picked from commit c4c9f39)

Conflicts:
	src/common/options/rgw.yaml.in
	src/rgw/librgw.cc
	src/rgw/rgw_log.cc
	src/rgw/rgw_log.h
	src/rgw/rgw_lua_request.cc
	src/rgw/rgw_process.cc

Cherry-pick notes:
- Conflict due to change in configuration option specification between Pacific and master
- Conflicts due to renaming RGWRados to rgw::sal::Store
- Conflicts due to whitespace changes
can't use ceph::mutex locks with std::condition_variable::wait() in
debug builds. use the ceph::condition_variable wrapper instead

Signed-off-by: Casey Bodley <cbodley@redhat.com>
@cbodley
Copy link
Contributor

cbodley commented Nov 2, 2021

jenkins build docs

@yuriw yuriw merged commit 8c30de8 into ceph:pacific Nov 3, 2021
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants