Skip to content

Improve test time for testReadMetadataWithRelationsConcurrentModifications in Iceberg#13716

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
findinpath:findinpath/improve-test-time-for-testreadmetadatawithrelationsconcurrentmodifications-in-iceberg
Aug 18, 2022
Merged

Improve test time for testReadMetadataWithRelationsConcurrentModifications in Iceberg#13716
ebyhr merged 1 commit intotrinodb:masterfrom
findinpath:findinpath/improve-test-time-for-testreadmetadatawithrelationsconcurrentmodifications-in-iceberg

Conversation

@findinpath
Copy link
Copy Markdown
Contributor

@findinpath findinpath commented Aug 17, 2022

Fixes #13556

Builds on top of #13642 and adds just small cosmetic changes.

cc: @findepi - this PR is created to address the stringent issue of flaky test: #13556

@cla-bot cla-bot bot added the cla-signed label Aug 17, 2022
@findinpath findinpath force-pushed the findinpath/improve-test-time-for-testreadmetadatawithrelationsconcurrentmodifications-in-iceberg branch from 850e225 to 6392758 Compare August 17, 2022 13:20
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

old way was easier to debug

Profiling of `testReadMetadataWithRelationsConcurrentModifications` with
`TestIcebergParquetConnectorTest` shows that most time is spent listing
metadata, and of which, most time is spending listing tables in the
TESTING_FILE_METASTORE. This commit improves this by adding simple
listing cache on top of the file system.

Co-authored-by: Marius Grama <findinpath@gmail.com>
@ebyhr ebyhr force-pushed the findinpath/improve-test-time-for-testreadmetadatawithrelationsconcurrentmodifications-in-iceberg branch from 6392758 to c2c4e10 Compare August 18, 2022 01:32
@ebyhr ebyhr changed the title Improve test time for testReadMetadataWithRelationsConcurrentModifica… Improve test time for testReadMetadataWithRelationsConcurrentModifications in Iceberg Aug 18, 2022
@ebyhr ebyhr added the no-release-notes This pull request does not require release notes entry label Aug 18, 2022
@ebyhr ebyhr merged commit dbe6e2b into trinodb:master Aug 18, 2022
@ebyhr
Copy link
Copy Markdown
Member

ebyhr commented Aug 18, 2022

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

Flaky TestIcebergParquetConnectorTest.testReadMetadataWithRelationsConcurrentModifications

4 participants