[
https://issues.apache.org/jira/browse/PHOENIX-3907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16041905#comment-16041905
]
Hudson commented on PHOENIX-3907:
---------------------------------
FAILURE: Integrated in Jenkins build Phoenix-master #1648 (See
[https://builds.apache.org/job/Phoenix-master/1648/])
PHOENIX-3907 Use LATEST_TIMESTAMP when UPDATE_CACHE_FREQUENCY is not (thomas:
rev 7cb16d4dd7f5fe11a10dfe4a58eb2bced313b6c1)
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/schema/TableRef.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/compile/StatementContext.java
> Use LATEST_TIMESTAMP when UPDATE_CACHE_FREQUENCY is not zero
> ------------------------------------------------------------
>
> Key: PHOENIX-3907
> URL: https://issues.apache.org/jira/browse/PHOENIX-3907
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
> Assignee: Thomas D'Silva
> Fix For: 4.11.0
>
> Attachments: PHOENIX-3907.patch, PHOENIX-3907-v2.patch,
> PHOENIX-3907-v3.patch, PHOENIX-3907-v4.patch
>
>
> For non transactional tables, currently with UPDATE_CACHE_FREQUENCY, we'll
> use LATEST_TIMESTAMP *most* of the time, until the cached entity expires, in
> which case we'll use the server timestamp. This seems a bit strange and
> inconsistent. Instead (for non transactional tables), we should always use
> LATEST_TIMESTAMP if UPDATE_CACHE_FREQUENCY is non zero, with the exception of
> the corner case for UPSERT SELECT and DELETE where the same table is being
> read and written to (see changes to FromCompiler for PHOENIX-3823).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)