prashantwason opened a new pull request #3082: URL: https://github.com/apache/hudi/pull/3082
## What is the purpose of the pull request Fixing a bug in the metadata table reader which does not return the correct view of the metadata. Please [see the issue](https://issues.apache.org/jira/browse/HUDI-1717) for details. ## Brief change log 1. Metadata table reader will sync in-memory all the instants which have been completed but not yet applied to the metadata table. 2. Created two versions of the function which finds the instants to sync - findInstantsToSyncForWriter and findInstantsToSyncForReader ## Verify this pull request This pull request is already covered by existing tests for TestHoodieBackedMetadata. ## Committer checklist - [ ] Has a corresponding JIRA in PR title & commit - [ ] Commit message is descriptive of the change - [ ] CI is green - [ ] Necessary doc changes done or have another open PR - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org