GitHub user poornachandra opened a pull request: https://github.com/apache/incubator-tephra/pull/37
TEPHRA-223 Encapsulate the two data structures used for invalid transactions to avoid update issues JIRA - https://issues.apache.org/jira/browse/TEPHRA-223 Approach: Encapsulate the invalid list and the invalidArray data structures into a class InvalidTxList. InvalidTxList tracks the changes to invalid list, and then populates invalidArray lazily when the list changes. TODO: Add tests for class InvalidTxList You can merge this pull request into a Git repository by running: $ git pull https://github.com/poornachandra/incubator-tephra feature/invalid-persistence Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-tephra/pull/37.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #37 ---- commit 41f293e6f23a307a7709aba0c3a625abb29f9d4d Author: poorna <poo...@cask.co> Date: 2017-02-21T01:13:39Z TEPHRA-223 Encapsulate the two data structures used for invalid transactions to avoid update issues commit ff2996916307ee49c215aba9758b03ad7b318db9 Author: poorna <poo...@cask.co> Date: 2017-02-21T01:52:20Z TEPHRA-223 Synchronize the access to invalid list ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---