summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_realm_watcher.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rgw: refactor selected files for better above- vs below-the-lineKaleb S. KEITHLEY2023-01-231-4/+1
| | | | | | | Move more files into driver/rados for better above- vs below- the-line. Use #pragma once everywhere (versus fixing all the Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
* rgw: add DPP's to logging for most opsAli Maredia2021-05-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This commit contains the following major changes: - Most log output lines for major ops now have DoutPrefixProviders. - Create new macro ldpp_subdout. This macro is meant as a replacement for lsubdout for headerfiles that do not define the rgw subsys. - Changes to RGWObjManifest begin and end iterators. - Make it so that rgw_dencoder.cc should only contain the logic related to encoding. Also add dpp to ldouts and lderr's already using req_state and replace sync_env/env->dpp's with dpp's Signed-off-by: Ali Maredia <amaredia@redhat.com> Signed-off-by: Kalpesh Pandya <kapandya@redhat.com> Signed-off-by: Casey Bodley <cbodley@redhat.com>
* RGW - Make sure editor settings are correct for all filesDaniel Gryniewicz2019-08-191-1/+1
| | | | Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
* rgw: zone service only provides const access to its dataCasey Bodley2018-12-051-2/+2
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* Rename "include/assert.h"Brad Hubbard2018-09-141-1/+1
| | | | | | | | | This conflicts with the system assert.h so rename and change includes to reflect the new name. Fixes: http://tracker.ceph.com/issues/35682 Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
* rgw: use const_iterator for decodeKefu Chai2018-05-171-1/+1
| | | | Signed-off-by: Kefu Chai <kchai@redhat.com>
* rgw: Initializes uninitialized members of rgwamitkuma2017-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Fixes the coverity issues: ** 1352181 Uninitialized scalar field 2. uninit_member: Non-static class member field fh_hk.bucket is not initialized in this constructor nor in any functions that it calls. CID 1352181 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) 4. uninit_member: Non-static class member field fh_hk.object is not initialized in this constructor nor in any functions that it calls. ** 1353424 Uninitialized scalar field CID 1353424 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) 5. uninit_member: Non-static class member watch_handle is not initialized in this constructor nor in any functions that it calls. ** 1355240 Uninitialized scalar field CID 1355240 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) 2. uninit_member: Non-static class member index_type is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Amit Kumar <amitkuma@redhat.com>
* rgw/cleanup: add override in headersliuchang08122017-03-141-1/+1
| | | | Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
* rgw: fix documentation of RGWRealmWatcherCasey Bodley2016-02-121-2/+1
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: RGWPeriodPusher shares periods between zones/groupsCasey Bodley2016-02-121-0/+1
| | | | | | | | | RGWPeriodPusher implements the RGWRealmWatcher interface to get notifications for new periods. when it discovers that it needs to push a period to other zones, it spawns a thread to send them (and keep retrying) until all of those zones successfully acknowledge the period Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: RGWRealmWatcher supports multiple watch typesCasey Bodley2016-02-121-4/+11
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: refactor reconfigure out of RGWRealmWatcherCasey Bodley2016-02-121-36/+16
| | | | | | | add a RGWRealmReloader class to handle reconfiguration, and use a Watcher interface to get notifications from RGWRealmWatcher Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: keep Context for reconfig timer cancellationCasey Bodley2016-02-121-1/+1
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: RGWRealmWatcher to reload RGWRados on changesCasey Bodley2016-02-121-0/+82
adds RGWRealmWatcher, which watches the RGWRealm control object for changes. in a separate thread, all frontends are paused while the RGWRados object is replaced with a new one Signed-off-by: Casey Bodley <cbodley@redhat.com>