Hi, All,

I'm setting up federated gateway. One is master zone, the other is slave
zone. Radosgw-agent is running in slave zone. I have encountered some
problems, can anybody help answering this:

1.  When put a object to radosgw, there are two bilogs to generate. One is
"pending" state, the other is "complete" state.This should be ignored when
the entry is "pending" state, otherwise the same object will be copied
twice. I have a pull request that is at
https://github.com/ceph/radosgw-agent/pull/39, please give some suggestions
about it.

2.  When the "rgw_num_rados_handles" is set as 16, the radosgw-agent
caannot unlock, the error code is 404.  the log is following:
......
2015-12-13 21:52:33,373 26594 [radosgw_agent.lock][WARNING] failed to
unlock shard 115 in zone zone-a: Http error code 404 content Not Found
......
2015-12-13 21:53:00,732 26594 [radosgw_agent.lock][ERROR ] locking shard
116 in zone zone-a failed: Http error code 423 content
......

I can find the locker with the "rados lock info" command, and can break the
lock with  "rados lock break" command.
I find the reason finally, the reason is that the lock request from
radosgw-agent is processed by rados client and the unlock request from
radosgw-agent is processed by anther rados client. When  the
"rgw_num_rados_handles"
is set as 1, the warning message did not appeared.
Can anybody help giving some suggestions about this, and can the warning
message be ignored?

Thanks !
sunfch
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to