[ 
https://issues.apache.org/jira/browse/PHOENIX-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17384142#comment-17384142
 ] 

ASF GitHub Bot commented on PHOENIX-6506:
-----------------------------------------

abhishek-chouhan commented on pull request #1261:
URL: https://github.com/apache/phoenix/pull/1261#issuecomment-882753519


   I'm not sure if this is a bug. Tenants are allowed to create their own 
sequences and use those for their operations. In general tenant connections are 
not able to see data associated with a global non-tenant connection. This could 
also be considered similar to that. I do think there is value in having a 
shared sequence across tenants, however need to think more if that should be 
through enabling it generally, like this pr aims to do, or having something 
like a "multi-tenant" sequence (create sequnce .. multi-tenant=true). 
@gjacoby126 @virajjasani 


-- 
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
>         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)

Reply via email to