[ https://issues.apache.org/jira/browse/PHOENIX-4782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor updated PHOENIX-4782: ---------------------------------- Summary: Set transaction on OmidTransactionTable or throw if created called before transaction started (was: Throw if context.getTransactionalTable() called before transaction started) > Set transaction on OmidTransactionTable or throw if created called before > transaction started > --------------------------------------------------------------------------------------------- > > Key: PHOENIX-4782 > URL: https://issues.apache.org/jira/browse/PHOENIX-4782 > Project: Phoenix > Issue Type: Sub-task > Reporter: James Taylor > Assignee: Ohad Shacham > Priority: Minor > > When PhoenixTransactionContext.getTransactionalTable() or > getTransactionalTableWriter() are called, but the transaction has not yet > been started, we should either: > * throw an exception or > * set the transaction on all OmidTransactionTable instances that have been > opened before > See FIXME in FlappingTransactionIT.testExternalTxContext() for an example -- This message was sent by Atlassian JIRA (v7.6.3#76005)