Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.4.0
-
None
-
3
-
5174
Description
While chasing a reintegration issue in LU-2147, i realized that ldiskfs OSD and ZFS OSD behave differently WRT index transfer. With ZFS, the entry for ID 0 is always transferred, while it is not in the case with ldiskfs/IAM. Therefore, i think we might have an iterator issue with IAM (maybe due to different return code on ->load?).
We are good as long as all entries can fit in one bulk transfer since we don't need too access grace time (store in ID 0) on slaves, but we might miss some entries if we require multiple bulks to transfer the index.
This also shows us that we don't have enough tests with multiple IDs and we should definitely add a test case exercising the code to transfer the global/slave index in multiple bulks.