tephra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gokul Gunasekaran <go...@apache.org>
Subject Re: testing transactional deletes with compaction
Date Thu, 05 Jan 2017 20:24:43 GMT
Hi Thomas,

I made some mistake in my previous testing. The test is still failing with
that change I had suggested. I am looking into it. I will update this
thread soon.


On Thu, Jan 5, 2017 at 12:17 PM, Gokul Gunasekaran <gokul@apache.org> wrote:

> Hi Thomas,
> Your setup looks right. The only thing it was missing was decreasing the
> snapshot frequency of the Tx Manager which is by default set to 300seconds.
> I added this line after setting the tx snapshot dir:
>     conf.setLong(TxConstants.Manager.CFG_TX_SNAPSHOT_INTERVAL, 2L);
> And the test passes now. The coprocessors use the snapshot data to clean
> up data.
> Thanks,
> Gokul
> On Wed, Jan 4, 2017 at 4:24 PM, Thomas D'Silva <tdsilva@salesforce.com>
> wrote:
>> Hi,
>> I am trying to debug a Phoenix test failure that deletes rows from a
>> transactional table and then runs major compaction to remove the deleted
>> rows. The rows are not getting removed after major compaction is run. I
>> think it might be related to my test setup. I have attached a patch that
>> modifies TransactionAwareHTableTest to demonstrate my setup.
>> Can anyone let me know if there is anything wrong with my test setup?
>> Thank you,
>> Thomas

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message