phoenix-dev mailing list archives

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


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

View raw message