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:17:58 GMT
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


On Wed, Jan 4, 2017 at 4:24 PM, Thomas D'Silva <tdsilva@salesforce.com>

> 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