mirror of https://github.com/apache/nifi.git
parent
c090cdf29a
commit
55d32ae610
|
@ -672,7 +672,7 @@ public class PersistentProvenanceRepository implements ProvenanceEventRepository
|
||||||
final int numDirty = dirtyWriterCount.get();
|
final int numDirty = dirtyWriterCount.get();
|
||||||
if (numDirty >= recordWriters.length) {
|
if (numDirty >= recordWriters.length) {
|
||||||
throw new IllegalStateException("Cannot update repository because all partitions are unusable at this time. Writing to the repository would cause corruption. "
|
throw new IllegalStateException("Cannot update repository because all partitions are unusable at this time. Writing to the repository would cause corruption. "
|
||||||
+ "This most often happens as a result of the repository running out of disk space or the JMV running out of memory.");
|
+ "This most often happens as a result of the repository running out of disk space or the JVM running out of memory.");
|
||||||
}
|
}
|
||||||
|
|
||||||
final long idx = writerIndex.getAndIncrement();
|
final long idx = writerIndex.getAndIncrement();
|
||||||
|
|
Loading…
Reference in New Issue