Examples of checkIntegrity()


Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.checkIntegrity()

                LanguageConnectionContext lcc = getLanguageConnection();
        XATransactionController tc =
                    (XATransactionController)lcc.getTransactionExecute();

                try {
                    lcc.checkIntegrity();
                } catch (StandardException e) {
                    lcc.xaRollback();
                    throw e;
                }
View Full Code Here

Examples of org.apache.lucene.codecs.TermVectorsReader.checkIntegrity()

    getFieldsReader().checkIntegrity();
   
    // term vectors
    TermVectorsReader termVectorsReader = getTermVectorsReader();
    if (termVectorsReader != null) {
      termVectorsReader.checkIntegrity();
    }
   
    // terms/postings
    if (core.fields != null) {
      core.fields.checkIntegrity();
View Full Code Here

Examples of org.apache.lucene.codecs.TermVectorsReader.checkIntegrity()

    getFieldsReader().checkIntegrity();
   
    // term vectors
    TermVectorsReader termVectorsReader = getTermVectorsReader();
    if (termVectorsReader != null) {
      termVectorsReader.checkIntegrity();
    }
   
    // terms/postings
    if (core.fields != null) {
      core.fields.checkIntegrity();
View Full Code Here

Examples of org.apache.lucene.codecs.TermVectorsReader.checkIntegrity()

    getFieldsReader().checkIntegrity();
   
    // term vectors
    TermVectorsReader termVectorsReader = getTermVectorsReader();
    if (termVectorsReader != null) {
      termVectorsReader.checkIntegrity();
    }
   
    // terms/postings
    if (core.fields != null) {
      core.fields.checkIntegrity();
View Full Code Here

Examples of org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.ChunkIterator.checkIntegrity()

              ++docCount;
              mergeState.checkAbort.work(300);
            }
          } while (docID < maxDoc);

          it.checkIntegrity();
        }
      }
    }
    finish(mergeState.fieldInfos, docCount);
    return docCount;
View Full Code Here

Examples of org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.ChunkIterator.checkIntegrity()

                mergeState.checkAbort.work(300);
              }
            }
          } while (docID < maxDoc);

          it.checkIntegrity();
        }
      }
    }
    finish(mergeState.fieldInfos, docCount);
    return docCount;
View Full Code Here

Examples of org.elasticsearch.index.store.Store.checkIntegrity()

                                        requestOptions, EmptyTransportResponseHandler.INSTANCE_SAME).txGet();
                            }
                        } catch (Throwable e) {
                            final Throwable corruptIndexException;
                            if ((corruptIndexException = ExceptionsHelper.unwrapCorruption(e)) != null) {
                                if (store.checkIntegrity(md) == false) { // we are corrupted on the primary -- fail!
                                    logger.warn("{} Corrupted file detected {} checksum mismatch", shard.shardId(), md);
                                    if (corruptedEngine.compareAndSet(null, corruptIndexException) == false) {
                                        // if we are not the first exception, add ourselves as suppressed to the main one:
                                        corruptedEngine.get().addSuppressed(e);
                                    }
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.