[
https://issues.apache.org/jira/browse/PHOENIX-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388108#comment-17388108
]
ASF GitHub Bot commented on PHOENIX-6506:
-----------------------------------------
virajjasani commented on pull request #1261:
URL: https://github.com/apache/phoenix/pull/1261#issuecomment-887571567
> I believe the usual pattern in Phoenix is that a tenant connection should
already be able to see global things. For example, if you get a tenant
connection and query a non-MT table, you should be able to get rows back.
Tenant connection can read from global views as well. I think this approach
also would be good enough i.e having global sequence accessible to tenant
connection. If we are good to go with this approach, changes look good to me
per my previous reviews. I was just curious about the final decision on the
approach we decide to go ahead with.
@abhishek-chouhan WDYT? Does this sound good to you?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Tenant Connection is not able to access/validate Global Sequences
> -----------------------------------------------------------------
>
> Key: PHOENIX-6506
> URL: https://issues.apache.org/jira/browse/PHOENIX-6506
> Project: Phoenix
> Issue Type: Bug
> Reporter: Lokesh Khurana
> Assignee: Lokesh Khurana
> Priority: Major
> Fix For: 4.17.0, 5.2.0, 5.1.3
>
> Attachments: PHOENIX-6506-test.patch, PHOENIX-6506.patch
>
>
> In our test environment we were using sequence(created using global
> connection) in our Table, recently we updated that table to be MULTI_TENANT
> and both types of connections (tenant and global) are needs to upsert data
> into Table.
> Tenant connections are not able to upsert data into table as it is not able
> to validate sequence and getting SequenceNotFoundException.
> Adding patch with Test failing due to same scenario.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)