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

Wip rgw sync status #8030

Merged
merged 15 commits into from Mar 11, 2016
Merged

Wip rgw sync status #8030

merged 15 commits into from Mar 11, 2016

Commits on Mar 7, 2016

  1. rgw: don't clobber first_chunk on retry

    A racing object sync can end up with multiple calls to cb.complete() which
    in turn will end up with this method getting called multiple times. We can't
    claim the bufferlist again, and will just clobber first_chunk.
    
    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 7, 2016
    Copy the full SHA
    2f3a9c6 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2016

  1. rgw: stop async_rados thread first

    Need to shut this thread first, so that async callbacks don't
    occur when we shut down the data/meta sync processors.
    
    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 8, 2016
    Copy the full SHA
    5ecacfe View commit details
    Browse the repository at this point in the history
  2. rgw: silence some debug messasges

    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 8, 2016
    Copy the full SHA
    03d60e3 View commit details
    Browse the repository at this point in the history
  3. rgw: abort early in realm reload if already reloading

    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 8, 2016
    Copy the full SHA
    5914ae9 View commit details
    Browse the repository at this point in the history
  4. rgw: don't equeue async cr rados operations if going down

    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 8, 2016
    Copy the full SHA
    ea29b71 View commit details
    Browse the repository at this point in the history
  5. rgw: reorder RGWRados::finalize()

    first stop all sync threads, then delete them. Might be referencing
    each other.
    
    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 8, 2016
    Copy the full SHA
    9106e8a View commit details
    Browse the repository at this point in the history
  6. rgw: rework completion notifier and manager lifecycle

    completion manager is now refcounted, and keeps track of all the
    notifiers. This is needed so that when we shut down we can release
    all completion notifiers, so that they don't reference the manager
    anymore.
    
    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 8, 2016
    Copy the full SHA
    1a800f6 View commit details
    Browse the repository at this point in the history
  7. rgw: handle error when fetching data log changes

    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 8, 2016
    Copy the full SHA
    d7e4221 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2016

  1. rgw_admin: a command to show sync status

    show it in a human readable way
    
    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 10, 2016
    Copy the full SHA
    b15f1ec View commit details
    Browse the repository at this point in the history
  2. rgw_admin: show oldest metadata change not applied

    in radosgw-admin sync status
    
    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 10, 2016
    Copy the full SHA
    03f8e62 View commit details
    Browse the repository at this point in the history
  3. rgw_admin: show more data sync info

    in radosgw-admin sync status command
    
    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 10, 2016
    Copy the full SHA
    eea64de View commit details
    Browse the repository at this point in the history
  4. rgw_admin: report oldest data not synced

    in radosgw-admin sync status
    
    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 10, 2016
    1
    Copy the full SHA
    453bc55 View commit details
    Browse the repository at this point in the history
  5. rgw: silence some noisy log messages

    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 10, 2016
    Copy the full SHA
    3d58c14 View commit details
    Browse the repository at this point in the history
  6. rgw_admin: minor output cleanups

    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 10, 2016
    Copy the full SHA
    93be4c6 View commit details
    Browse the repository at this point in the history
  7. rgw: also dump realm in radosgw-admin sync status command

    Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed Mar 10, 2016
    Copy the full SHA
    c85573a View commit details
    Browse the repository at this point in the history