orbiter 14 years ago
parent bf4ef1513e
commit e753027c43

@ -303,12 +303,11 @@ public final class IndexCell<ReferenceType extends Reference> extends AbstractBu
for (byte[] b: failedURLs.keySet()) try {words.put(b);} catch (RowSpaceExceededException e) {} for (byte[] b: failedURLs.keySet()) try {words.put(b);} catch (RowSpaceExceededException e) {}
} }
for (byte[] b: words) {
HandleSet urls;
synchronized (failedURLs) { synchronized (failedURLs) {
urls = failedURLs.remove(b); for (byte[] b: words) {
HandleSet urls = failedURLs.remove(b);
if (urls != null) remove(b, urls);
} }
remove(b, urls);
} }
this.countCache.clear(); this.countCache.clear();
} }

Loading…
Cancel
Save