{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/10558","repository_url":"https://api.github.com/repos/ceph/ceph","labels_url":"https://api.github.com/repos/ceph/ceph/issues/10558/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/10558/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/10558/events","html_url":"https://github.com/ceph/ceph/pull/10558","id":169134231,"number":10558,"title":"rgw: store oldest mdlog period in rados","user":{"login":"cbodley","id":1928002,"avatar_url":"https://avatars.githubusercontent.com/u/1928002?v=3","gravatar_id":"","url":"https://api.github.com/users/cbodley","html_url":"https://github.com/cbodley","followers_url":"https://api.github.com/users/cbodley/followers","following_url":"https://api.github.com/users/cbodley/following{/other_user}","gists_url":"https://api.github.com/users/cbodley/gists{/gist_id}","starred_url":"https://api.github.com/users/cbodley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbodley/subscriptions","organizations_url":"https://api.github.com/users/cbodley/orgs","repos_url":"https://api.github.com/users/cbodley/repos","events_url":"https://api.github.com/users/cbodley/events{/privacy}","received_events_url":"https://api.github.com/users/cbodley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/bug%20fix","name":"bug fix","color":"e11d21"},{"url":"https://api.github.com/repos/ceph/ceph/labels/rgw","name":"rgw","color":"207de5"},{"url":"https://api.github.com/repos/ceph/ceph/labels/wip-cbodley-testing","name":"wip-cbodley-testing","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"yehudasa","id":1036377,"avatar_url":"https://avatars.githubusercontent.com/u/1036377?v=3","gravatar_id":"","url":"https://api.github.com/users/yehudasa","html_url":"https://github.com/yehudasa","followers_url":"https://api.github.com/users/yehudasa/followers","following_url":"https://api.github.com/users/yehudasa/following{/other_user}","gists_url":"https://api.github.com/users/yehudasa/gists{/gist_id}","starred_url":"https://api.github.com/users/yehudasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yehudasa/subscriptions","organizations_url":"https://api.github.com/users/yehudasa/orgs","repos_url":"https://api.github.com/users/yehudasa/repos","events_url":"https://api.github.com/users/yehudasa/events{/privacy}","received_events_url":"https://api.github.com/users/yehudasa/received_events","type":"User","site_admin":false},"assignees":[{"login":"yehudasa","id":1036377,"avatar_url":"https://avatars.githubusercontent.com/u/1036377?v=3","gravatar_id":"","url":"https://api.github.com/users/yehudasa","html_url":"https://github.com/yehudasa","followers_url":"https://api.github.com/users/yehudasa/followers","following_url":"https://api.github.com/users/yehudasa/following{/other_user}","gists_url":"https://api.github.com/users/yehudasa/gists{/gist_id}","starred_url":"https://api.github.com/users/yehudasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yehudasa/subscriptions","organizations_url":"https://api.github.com/users/yehudasa/orgs","repos_url":"https://api.github.com/users/yehudasa/repos","events_url":"https://api.github.com/users/yehudasa/events{/privacy}","received_events_url":"https://api.github.com/users/yehudasa/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-08-03T13:41:28Z","updated_at":"2016-08-23T15:01:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/10558","html_url":"https://github.com/ceph/ceph/pull/10558","diff_url":"https://github.com/ceph/ceph/pull/10558.diff","patch_url":"https://github.com/ceph/ceph/pull/10558.patch"},"body":"`RGWMetadataManager` no longer makes stat calls on logs shards to determine its oldest_log_period. Instead, it records the oldest log's period id and realm_epoch in a rados object. If `RGWMetadataManager::init_oldest_log_period()` finds no such object, it calls `find_oldest_period()` to read period predecessors until it reaches the realm's first period, and writes that to rados.\r\n\r\n`RGWMetadataManager::init_oldest_log_period()` is now only called from `RGWRados::init_complete()` if `run_sync_threads` is true, instead of running unconditionally in `RGWMetadataManager::init()`, which allows us to skip building up a period history for radosgw-admin.\r\n\r\nNow that `RGWMetadataManager::read_oldest_log_period()` can return ENOENT for an uninitialized mdlog history, `RGWRemoteMetaLog::run_sync()` will retry on ENOENT as well.\r\n\r\nFixes: http://tracker.ceph.com/issues/16894"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/241760960","html_url":"https://github.com/ceph/ceph/pull/10558#issuecomment-241760960","issue_url":"https://api.github.com/repos/ceph/ceph/issues/10558","id":241760960,"user":{"login":"yehudasa","id":1036377,"avatar_url":"https://avatars.githubusercontent.com/u/1036377?v=3","gravatar_id":"","url":"https://api.github.com/users/yehudasa","html_url":"https://github.com/yehudasa","followers_url":"https://api.github.com/users/yehudasa/followers","following_url":"https://api.github.com/users/yehudasa/following{/other_user}","gists_url":"https://api.github.com/users/yehudasa/gists{/gist_id}","starred_url":"https://api.github.com/users/yehudasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yehudasa/subscriptions","organizations_url":"https://api.github.com/users/yehudasa/orgs","repos_url":"https://api.github.com/users/yehudasa/repos","events_url":"https://api.github.com/users/yehudasa/events{/privacy}","received_events_url":"https://api.github.com/users/yehudasa/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T15:01:56Z","updated_at":"2016-08-23T15:01:56Z","body":"@cbodley I'm curious why this test hasn't failed before, we keep a lo of other objects in the same pool. Need to look at that test, see why is that."}}
{"actor":{"display_login":"yehudasa"}}