phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (PHOENIX-5084) Changes from Transactional Tables are not visible to query in different client
Date Sun, 30 Dec 2018 19:35:00 GMT

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

Lars Hofhansl edited comment on PHOENIX-5084 at 12/30/18 7:34 PM:
------------------------------------------------------------------

Perhaps a SQLLine problem?!

Trying with Tephra, and simply doing a select from X, then waiting for 60s (that's my transaction
timeout), then doing another select, I get 
{{org.apache.tephra.TransactionNotInProgressException: canCommit() is called for transaction
1546197028547000000 that is not in progress (it is known to be invalid)}}.

That means that SQLLine *did have* a transaction open... Even with autocommit *true*.

If it's just a SQLLine problem I can close this, although it's still unexpected.


was (Author: lhofhansl):
Perhaps a SQLLine problem?!

Trying with Tephra, and simply doing a select from X, then waiting for 60s (that's my transaction
timeout), then doing another select, I get 
{{org.apache.tephra.TransactionNotInProgressException: canCommit() is called for transaction
1546197028547000000 that is not in progress (it is known to be invalid)}}.

That means that SQLLine *did have* a transaction open... Even with autocommit off.

If it's just a SQLLine problem I can close this, although it's still unexpected.

> Changes from Transactional Tables are not visible to query in different client
> ------------------------------------------------------------------------------
>
>                 Key: PHOENIX-5084
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5084
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.15.0, 4.14.1
>            Reporter: Lars Hofhansl
>            Priority: Blocker
>
> Scenario:
> # Upsert and commit some data into a transactional table. (Autocommit or following by
explicit commit)
> # Query same table from another client
> The first query on the other client will not see the newly upserted/committed data (regardless
of how long one waits).
> A second identical query will see the new data.
> This happens with both Omid and Tephra.
> I guess we can't write a test for this, since it requires multiple JVMs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message