When there are 100+ snapshots, IncrementalStartingScanner will be very slow, we can optimize it to execute in thread pool.
In this PR, introduced ManifestsReader for SnapshotReader to read manifest files, and expose SnapshotReader.readManifest to public. Outside can use these two interfaces to muti-threads execution.
Purpose
When there are 100+ snapshots,
IncrementalStartingScanner
will be very slow, we can optimize it to execute in thread pool.In this PR, introduced
ManifestsReader
forSnapshotReader
to read manifest files, and exposeSnapshotReader.readManifest
to public. Outside can use these two interfaces to muti-threads execution.Tests
API and Format
Documentation