INodeUtils.getINodeIdsForBlockIds should not try to get too many blocks at once.

Description

INodeUtils.getINodeIdsForBlockIds has no upper bound for the number of blocks it look for in the database. This can result in very large database transaction when a datanode with a large number of blocks die. We need to split this transaction in smaller transactions.

Status

Assignee

Gautier Berthou

Reporter

Gautier Berthou

Labels

None

Fix versions

Priority

Highest