Steve Loughran created HADOOP-14756:
---------------------------------------
Summary: S3Guard: instrument MetadataStore for asserting & testing
MetadataStoreTestBase
Key: HADOOP-14756
URL: https://issues.apache.org/jira/browse/HADOOP-14756
Project: Hadoop Common
Issue Type: Sub-task
Components: fs/s3
Affects Versions: HADOOP-13345
Reporter: Steve Loughran
Fix For: HADOOP-13345
{{MetadataStoreTestBase.testListChildren}} would be improved with the ability
to query the features offered by the store, and the outcome of {{put()}}, so
probe the correctness of the authoritative mode
# Add predicate to MetadataStore interface
{{supportsAuthoritativeDirectories()}} or similar
# If #1 is true, assert that directory is fully cached after changes
# Add "isNew" flag to MetadataStore.put(DirListingMetadata); use to verify when
changes are made
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]