You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Rushabh Shah (Jira)" <ji...@apache.org> on 2021/06/16 13:35:00 UTC

[jira] [Commented] (PHOENIX-6494) Delete data and insert immediately cause the data inconsistently

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

Rushabh Shah commented on PHOENIX-6494:
---------------------------------------

[~weilai] if you can write a test case with exact schema, delete the table, insert 30 rows and then do a count(*), it will help to determine if it is a phoenix bug or not ? thank you  

> Delete data and insert immediately cause the data inconsistently
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-6494
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6494
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 5.1.1
>         Environment: Phoenix 5.1.1
> Hbase 2.3.5
> Hadoop 2.10.1
>            Reporter: Future.Zhang
>            Priority: Major
>
> I have a table named “TEST1”, it contain 30 record. 
> I use SpringJDBC to connect phoenix.
>  
> My Java code like below
> {code:java}
> //代码占位符
> //First, Delete all data
> phoenixJdbcTemplate.execute("DELETE FROM TEST1");
> //Second, use alibaba datax to sync data (30 record) into "TEST1" table. 
> JavaRemoteShell.execute("python /opt/data/bin/datax sync_data.json");
> {code}
> after, i query 'TEST1' table, it only 19 record into the table.
>  
> Is it a phoenix bug? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)