phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4219) Index gets out of sync on HBase 1.x
Date Wed, 27 Sep 2017 07:07:02 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Taylor updated PHOENIX-4219:
----------------------------------
    Attachment: PHOENIX-4219_test_v2.patch

[~samarthjain] - I've narrowed this down a bit and can only repro when column encoding is
enabled:
- it works fine in all branches with column encoding disabled
- it works fine even with column encoding in 0.98
- it works fine if only a single thread is updating the table
- it works fine for immutable tables (with both local and global index).

Do you think you could take a look? I've attached a slightly modified version of the test
because I was worried about potential race conditions if the client thread gets interrupted
while the server is still writing index updates. This version prevents that.

> Index gets out of sync on HBase 1.x
> -----------------------------------
>
>                 Key: PHOENIX-4219
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4219
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.12.0
>            Reporter: Vincent Poon
>            Priority: Blocker
>         Attachments: PHOENIX-4219_test.patch, PHOENIX-4219_test_v2.patch
>
>
> When writing batches in parallel with multiple background threads, it seems the index
sometimes gets out of sync.  This only happens on the master and 4.x-HBase-1.2.
> The tests pass for 4.x-HBase-0.98
> See the attached test, which writes with 2 background threads with batch size of 100.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message