Files
swift/test/unit/common/test_direct_client.py
Matthew Oliver b1309c95e5 Plumb sharding stats though recon middleware
To make it easier to have access to the sharding stats add
/recon/sharding as a recon middleware endpoint.

This allows an easy way to ask a container server for it's sharding
stats using REST inside the cluster:

  curl <container-server>/recon/sharding

Also add a get_recon method to the direct client so it can also be used
easily inside tooling and probe tests.

Co-Authored-By: Alistair Coles <alistairncoles@gmail.com>
Change-Id: I2a6024277d1198d8c996682682bfe28797344951
2021-02-26 15:51:06 +00:00

45 KiB