Previously, the PGs were created with a creation date of the current
OSDMap. However, under some circumstances the PG creation can occur
under a later OSDMap epoch. This could lead to client requests that
were sent under epoch n, while the OSD insisted that the PG was
created in epoch n+1 so the client request was invalid. Since the
OSD expects the client to resubmit requests in such circumstances,
and the client thought all was well, this led to hanging client
requests.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
continue;
}
created++;
- register_pg(pool, pgid, epoch, new_pool);
+ register_pg(pool, pgid, pool.get_last_change(), new_pool);
}
}
}