Merge 40a60c692b into 4b42ed9fe2
commit
6fbcf8b65a
|
|
@ -2681,8 +2681,12 @@ static int tracker_deal_service_query_storage( \
|
||||||
path_total_mbs[write_path_index], pStorageServer-> \
|
path_total_mbs[write_path_index], pStorageServer-> \
|
||||||
path_free_mbs[write_path_index], avg_reserved_mb))
|
path_free_mbs[write_path_index], avg_reserved_mb))
|
||||||
{
|
{
|
||||||
int i;
|
int i, t;
|
||||||
for (i=0; i<pStoreGroup->store_path_count; i++)
|
t = write_path_index + 1;
|
||||||
|
if (t >= pStoreGroup->store_path_count) {
|
||||||
|
t = 0;
|
||||||
|
}
|
||||||
|
for (i=t; i<pStoreGroup->store_path_count; i++)
|
||||||
{
|
{
|
||||||
if (tracker_check_reserved_space_path( \
|
if (tracker_check_reserved_space_path( \
|
||||||
pStorageServer->path_total_mbs[i], \
|
pStorageServer->path_total_mbs[i], \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue