diff options
author | Sachin Pandit <spandit@redhat.com> | 2014-04-01 09:20:05 +0530 |
---|---|---|
committer | Krishnan Parthasarathi <kparthas@redhat.com> | 2014-06-03 02:02:44 -0700 |
commit | 31520d9334f9a40aa329d54651bca7e2c2e5d545 (patch) | |
tree | c61d0257b2e4fbb34209d34ccbd979097c4a8391 /build-aux | |
parent | 0fe5ab5b9215b8f0ecfb8bc4ba15a5370850654a (diff) |
glusterd/status : First fetch the snapcount and then send the rpc call
for individual snapshots for snapshot status
Problem :
Initially, we used to do all the calculation in the
glusterd side, once all the information related to
snap was fetched, it was aggregated into one
dictionary and that was sent back to CLI. Problem
with this approach was, when number of snapshots
are very high then CLI will timeout.
Solution:
First fetch snapcount and snapname from glusterd,
then make a individual calls using the snapname
fetched. This will resolve the timeout problem.
Change-Id: I32609b3898ed227c804dd4d8ee4516f081240756
BUG: 1087676
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/7456
Reviewed-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions