Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
scenario 1:
We have 100m files in a EC zone. Everytime we open a file, we need to get ECSchema(need get ECZone first). So getting EC zone is frequent.
scenario 2:
We have a EC zone "/d1". We have a file in "/d1/d2/d3/.../dN". We have to search from xAttrs from dN, dN-1, ..., d3, d2, d1, until we find a EC zone from d1's xAttr.
It's better we cache the EC zone, like EncryptionZoneManager#encryptionZones