| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The realm name is used in period configuration, only initialised in the
beginning. Only value which is needed is the realm_id, hence removing
realm_name from period config.
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
All along, we've had an overload of the term "store". It was the base
class of the entrypoint, and it was the lowest layer in a stack. This
renames the base class to Driver. So, the primary elements of zipper
that to work are now Drivers, and they come in two different flavors:
Filters live in the middle of the stack, and do not need to implement
every API, but pass through instead. And Stores live a the bottom of
the stack, and must implement the entire API.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
- RadosStore had a dummy implementation of Zone that just passed through
to the Zone service to get info about the local zone. Implement the
Zone API for real, so that we can reference multiple zones.
- Convert get_id() to string; it was only ever used as a string anyway.
- Add get_zone_by*() to zonegroup and use it apporpriately
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Add ZoneGroup and PlacementTier to the Zipper API. This cleaned up a
lot of issues in the Module branch.
In addition, add cloud transition.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change type *var; to type* var;
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
|
|
|
| |
Rename RGWFoo to Foo. It's all in the rgw::sal namespace anyway, so the
RGW is redundant.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
|
|
|
|
| |
aws auth v4 requires region name. Allow configuring it for remote
endpoints, and also provide a command line option that would allow
passing it.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
|
|
| |
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
|
|
|
|
| |
This commit changes the RGWStoreManager to return a RGWStore* rather
than a RGWRadosStore*. This is the thread that unravels the rest of the
Zipper work, removing hard-coded uses of the RGWRados* classes.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
|
|
| |
As mentioned above.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
|
|
|
|
| |
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
|
|
|
|
| |
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
| |
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first part of Project Zipper, the Store Abstraction Layer.
It introduces the basic framework, and wraps RGWRados in RGWRadosStore.
The goal over the next few weeks is to do the same for user, bucket, and
object. This will make most of the remaining users of RGWRados wrapped
in SAL classes, allowing it to be completely absorbed into the private
RGWRadosStore. This will also expose all the APIs that need to be
pusheg up to higher layers in the SAL.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
RGWPeriodPusher was using an empty RGWAccessKey for inter-zonegroup
messages, which were rejected as an anonymous user with 403 Forbidden.
this prevented multi-zonegroup configurations from converging on the
same period configuration
Fixes: http://tracker.ceph.com/issues/39287
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|
|
|
| |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
|
|
| |
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
|
|
|
| |
s/set_threaded/start
s/is_threaded/is_started
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
|
|
| |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
|
|
|
|
|
| |
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
|
|
|
|
|
|
|
| |
as we requires boost 1.61+ now, which offers them. see
http://www.boost.org/doc/libs/1_61_0/boost/asio/.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/19834
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|
|
|
| |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
|
|
| |
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|
|
|
| |
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|
|
|
| |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
|
|
| |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
|
|
| |
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
|
|
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>
|