Package edu.brown.hstore.txns

Examples of edu.brown.hstore.txns.AbstractTransaction.debug()


        } // FOR
       
        // Added our own debug info
        AbstractTransaction ts = this.hstore_site.getTransaction(txn_id);
        if (ts != null) {
            responses.put(this.local_site_id, ts.debug());
        }

        // Then wait for all of our responses
        boolean success = false;
        try {
View Full Code Here


            Long txnId = request.getTransactionId();
            AbstractTransaction ts = hstore_site.getTransaction(txnId);
            String debug;
            Status status;
            if (ts != null) {
                debug = ts.debug();
                status = Status.OK;
            } else {
                debug = "";
                LOG.info("Found the abort!!!");
                status = Status.ABORT_UNEXPECTED;
View Full Code Here

                        }
                        // We can't delete this yet, so we'll just stop checking
                        else {
                            if (trace.val)
                                LOG.trace(String.format("%s - Cannot delete %s at this point [status=%s]\n%s",
                                          ts, ts.getClass().getSimpleName(), status, ts.debug()));
                            requeue.add(txn_id);
                        }
                    } else if (debug.val) {
                        LOG.warn(String.format("Ignoring clean-up request for txn #%d because we do not have a handle " +
                                 "[status=%s]", txn_id, status));
View Full Code Here

                    break;
                }
            }
            if (zombie != null) {
                if (zombie.isPredictSinglePartition()) {
                    zombieStatus += zombie.debug();
                } else {
                    Map<Integer, String> zombieDebug = hstore_site.getCoordinator().transactionDebug(txnId);
                    List<String> cols = new ArrayList<String>();
                    for (Integer siteId : zombieDebug.keySet()) {
                        cols.add(String.format("SITE %02d\n%s", siteId, zombieDebug.get(siteId)));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.