mirror of https://github.com/apache/lucene.git
SOLR-3746: more context to error message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375723 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
41c067bc18
commit
0183711e22
|
@ -211,8 +211,13 @@ public class UpdateLog implements PluginInfoInitialized {
|
||||||
newestLogsOnStartup.addFirst(ll);
|
newestLogsOnStartup.addFirst(ll);
|
||||||
if (newestLogsOnStartup.size() >= 2) break;
|
if (newestLogsOnStartup.size() >= 2) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
versionInfo = new VersionInfo(this, 256);
|
try {
|
||||||
|
versionInfo = new VersionInfo(this, 256);
|
||||||
|
} catch (SolrException e) {
|
||||||
|
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR,
|
||||||
|
"Unable to use updateLog: " + e.getMessage(), e);
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: these startingVersions assume that we successfully recover from all non-complete tlogs.
|
// TODO: these startingVersions assume that we successfully recover from all non-complete tlogs.
|
||||||
UpdateLog.RecentUpdates startingUpdates = getRecentUpdates();
|
UpdateLog.RecentUpdates startingUpdates = getRecentUpdates();
|
||||||
|
|
|
@ -148,7 +148,7 @@
|
||||||
|
|
||||||
<field name="payloads" type="payloads" indexed="true" stored="true"/>
|
<field name="payloads" type="payloads" indexed="true" stored="true"/>
|
||||||
|
|
||||||
<field name="_version_" type="long" indexed="true" stored="true"/>
|
<!-- field name="_version_" type="long" indexed="true" stored="true"/ -->
|
||||||
|
|
||||||
<!-- Uncommenting the following will create a "timestamp" field using
|
<!-- Uncommenting the following will create a "timestamp" field using
|
||||||
a default value of "NOW" to indicate when each document was indexed.
|
a default value of "NOW" to indicate when each document was indexed.
|
||||||
|
|
Loading…
Reference in New Issue