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

PHOENIX-3547 Supporting more number of indices per table. #316

Closed
wants to merge 255 commits into from
Closed

PHOENIX-3547 Supporting more number of indices per table. #316

wants to merge 255 commits into from

Conversation

m2je
Copy link

@m2je m2je commented Jul 27, 2018

PHOENIX-3547 Supporting more number of indices per table.

Currently the number of indices per Phoenix table is bound to maximum of 65535 (java.lang.Short) which is a limitation for applications requiring to have unlimited number of indices.
This change will consider any new table created in Phoenix to support view index ids to be in the range of -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 (java.lang.Long) which is undoubtably big enough to cover this requirement.
Any existing Phoenix table will still continue to support only maximum of 65535 of indices.
A new boolean column (USE_LONG_VIEW_INDEX BOOLEAN DEFAULT FALSE) is added to SYSTEM.CATALOG to specify each Phoenix table's support for large number of indices.
On each new Phoenix table creation the value for USE_LONG_VIEW_INDEX will be set to true while this value would be false for any existing table.

maryannxue and others added 30 commits October 30, 2017 15:13
…s not work in SkipScanFilter (fix test failures)"

This reverts commit 45a9c27.
…s not work in SkipScanFilter"

This reverts commit b0220fa.
…ies in CQSI

Signed-off-by: aertoria <castives@gmail.com>
…ableRef, Map<ImmutableBytesPtr,RowMutationState>> mutations
Mujtaba and others added 26 commits May 25, 2018 16:43
…StatsWithMinStatsUpdateFreq of StatsCollectorIT
…tUpdatesStatsWithMinStatsUpdateFreq of StatsCollectorIT"

This reverts commit 98f7a69.
… key found and added results for scan ordered queries(Rajeshbabu)
Lease renewal is the only mechanism under which connections are removed
from the connectionQueue. Calling close() on a connection doesn't proactively
remove it from the instance of ConnectionQueryServicesImpl.
…or delete not to run query"

This reverts commit 2883226.
Currently the number of indices per Phoenix table is bound to maximum of 65535 (java.lang.short) which might be a hard limit for applications requiring to have unlimited number of indices.
This change will consider any new table created in Phoenix to support view index ids to be in the range of -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 (java.lang.Long) which is undoubtably big enough to cover this requirement.
Any existing Phoenix table will still continue to support only maximum of 65535 of indices.
A new boolean column (BOOLEAN USE_LONG_VIEW_INDEX DEFAULT FALSE) is added to SYSTEM.CATALOG to specify each Phoenix table's support for large number of indices.
On new table creation the value for USE_LONG_VIEW_INDEX will be set to `true` while this value would be false for any existing table.
Currently the number of indices per Phoenix table is bound to maximum of 65535 (java.lang.Short) which is a limitation for applications requiring to have unlimited number of indices.
This change will consider any new table created in Phoenix to support view index ids to be in the range of -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 (java.lang.Long) which is undoubtably big enough to cover this requirement.
Any existing Phoenix table will still continue to support only maximum of 65535 of indices.
A new boolean column (USE_LONG_VIEW_INDEX BOOLEAN DEFAULT FALSE) is added to SYSTEM.CATALOG to specify each Phoenix table's support for large number of indices.
On each new Phoenix table creation the value for USE_LONG_VIEW_INDEX will be set to `true` while this value would be false for any existing table.
@twdsilva
Copy link
Contributor

@m2je Thanks for the PR. Can you please update the PR so that it uses the correct branch, so that we can see only your changes? This PR currently has 250+ commits.

@twdsilva
Copy link
Contributor

@m2je Thanks for the contribution. Can you please update the PR to use the correct branch. It currently has 250+ commits, so it hard to review your changes.

@m2je
Copy link
Author

m2je commented Jul 27, 2018

I don't know what happened. Let me open a new pull request

@m2je m2je closed this Jul 27, 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