Skip to content

[native] Remove inheritence relationship between AsyncDataCache and MemoryAllo…#20372

Merged
mbasmanova merged 1 commit intoprestodb:masterfrom
tanjialiang:export-D47536273
Jul 26, 2023
Merged

[native] Remove inheritence relationship between AsyncDataCache and MemoryAllo…#20372
mbasmanova merged 1 commit intoprestodb:masterfrom
tanjialiang:export-D47536273

Conversation

@tanjialiang
Copy link
Contributor

@tanjialiang tanjialiang commented Jul 24, 2023

Summary:
Removing the relationship of AsyncDataCache inheritance from MemoryAllocator. Now they are depending on each other with registration mechanism. Related tests are refactored to be consistent with the new change.

Advance Velox version

X-link: facebookincubator/velox#5503

Reviewed By: xiaoxmeng

Differential Revision: D47536273

Pulled By: tanjialiang

@tanjialiang tanjialiang requested a review from a team as a code owner July 24, 2023 18:12
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D47536273

@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D47536273

tanjialiang added a commit to tanjialiang/velox-1 that referenced this pull request Jul 24, 2023
facebookincubator#5503)

Summary:
X-link: prestodb/presto#20372

Removing the relationship of AsyncDataCache inheritance from MemoryAllocator. Now they are depending on each other with registration mechanism. Related tests are refactored to be consistent with the new change.

Pull Request resolved: facebookincubator#5503

Reviewed By: xiaoxmeng

Differential Revision: D47536273

Pulled By: tanjialiang

fbshipit-source-id: 9a02e8dc5e1f05a00d4cd7e2828fdd5e8648669e
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D47536273

Copy link
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

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

@tanjialiang LGTM. Thanks for the work!

Copy link
Contributor

Choose a reason for hiding this comment

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

PRESTO_SHUTDOWN_LOG(INFO) << "Shutdown AsyncDataCache";

facebook-github-bot pushed a commit to facebookincubator/velox that referenced this pull request Jul 25, 2023
#5503)

Summary:
X-link: prestodb/presto#20372

Removing the relationship of AsyncDataCache inheritance from MemoryAllocator. Now they are depending on each other with registration mechanism. Related tests are refactored to be consistent with the new change.

Pull Request resolved: #5503

Reviewed By: xiaoxmeng

Differential Revision: D47536273

Pulled By: tanjialiang

fbshipit-source-id: 8a763533a489473eb8c88d768dc4e65e5b9c2e7a
@tanjialiang tanjialiang changed the title Remove inheritence relationship between AsyncDataCache and MemoryAllo… [native] Remove inheritence relationship between AsyncDataCache and MemoryAllo… Jul 25, 2023
prestodb#20372)

Summary:
Pull Request resolved: prestodb#20372

Removing the relationship of AsyncDataCache inheritance from MemoryAllocator. Now they are depending on each other with registration mechanism. Related tests are refactored to be consistent with the new change.

X-link: facebookincubator/velox#5503

Reviewed By: xiaoxmeng

Differential Revision: D47536273

Pulled By: tanjialiang

fbshipit-source-id: 7749b787bf2a1027b33e02690917c59bb497026c
@mbasmanova mbasmanova merged commit 406a05c into prestodb:master Jul 26, 2023
@wanglinsong wanglinsong mentioned this pull request Jul 27, 2023
28 tasks
wypb pushed a commit to wypb/presto that referenced this pull request Dec 22, 2023
prestodb#20372)

Summary:
Pull Request resolved: prestodb#20372

Removing the relationship of AsyncDataCache inheritance from MemoryAllocator. Now they are depending on each other with registration mechanism. Related tests are refactored to be consistent with the new change.

X-link: facebookincubator/velox#5503

Reviewed By: xiaoxmeng

Differential Revision: D47536273

Pulled By: tanjialiang

fbshipit-source-id: 7749b787bf2a1027b33e02690917c59bb497026c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants