asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murtadha Hubail (Code Review)" <do-not-re...@asterixdb.incubator.apache.org>
Subject Change in asterixdb[master]: [ASTERIXDB-2130][TX] Avoid Evicting Datasets Pending Txn Com...
Date Fri, 03 Nov 2017 16:50:53 GMT
Hello Jenkins,

I'd like you to reexamine a change.  Please visit

    https://asterix-gerrit.ics.uci.edu/2122

to look at the new patch set (#2).

Change subject: [ASTERIXDB-2130][TX] Avoid Evicting Datasets Pending Txn Completion
......................................................................

[ASTERIXDB-2130][TX] Avoid Evicting Datasets Pending Txn Completion

- user model changes: no
- storage format changes: no
- interface changes: yes
  Added ITransactionOperationTracker for txn specific op tracker.
  Added complete to ITransactionManager to release all resources
  held by the txn upon its completion.

Details:
Currently, a dataset could be evicted/dropped while a transaction
waiting for its completion (commit/rollback). This change prevents
that by incrementing the reference counter of the datasets of all
indexes registered in the transaction.

Change-Id: I82b614a938f24f3199fd327502ed422ce9d3b9b7
---
M asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/BaseOperationTracker.java
A asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/ITransactionOperationTracker.java
M asterixdb/asterix-common/src/main/java/org/apache/asterix/common/transactions/ITransactionContext.java
M asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/service/transaction/TransactionContext.java
M asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/service/transaction/TransactionManager.java
5 files changed, 83 insertions(+), 21 deletions(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/22/2122/2
-- 
To view, visit https://asterix-gerrit.ics.uci.edu/2122
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I82b614a938f24f3199fd327502ed422ce9d3b9b7
Gerrit-PatchSet: 2
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Murtadha Hubail <mhubail@apache.org>
Gerrit-Reviewer: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Mime
View raw message