Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAMZA-1875: Reuse table instances in TableManager #636

Closed
wants to merge 11 commits into from

Conversation

weisong44
Copy link
Member

We currently are invoking TableProvider.getTable() when TableManager.getTable(tableId) is invoked every time, this would in turn cause a new table instance being created. The assumption used so far is that end user would cache table instances, which is not always true. Therefore we should reuse table instance created earlier in TableManager.

@weisong44 weisong44 changed the title Reuse table instances in TableManager SAMZA-1875: Reuse table instances in TableManager Sep 12, 2018
Copy link
Contributor

@pdu-mn1 pdu-mn1 left a comment

Choose a reason for hiding this comment

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

looks good

@asfgit asfgit closed this in 479103b Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants