Permalink
Browse files

log when resource is deleted

  • Loading branch information...
1 parent 5c641c8 commit 7bf5a4d4ab5d4288ed22681f109fa306daab59c4 @tjake committed Aug 24, 2011
Showing with 4 additions and 6 deletions.
  1. +4 −6 src/org/apache/solr/core/SolandraCoreContainer.java
@@ -195,12 +195,6 @@ public static String getCoreMetaInfo(String indexName) throws IOException
String schemaXML = readSchemaXML(info.coreName);
long maxId = IndexManagerService.instance.getMaxId(indexName);
int numShards = CassandraIndexManager.getShardFromDocId(maxId);
- long totalDocs = 0;
-
- for(int i=0; i<=numShards; i++)
- {
-
- }
StringBuilder sb = new StringBuilder();
@@ -281,6 +275,10 @@ public static ByteBuffer readCoreResource(String coreName, String resourceName)
.getColumn(coreNameBytes)
.getSubColumn(resourceNameBytes).value();
}
+ else
+ {
+ logger.info("row was marked empty: "+rows);
+ }
return resourceValue;
}

0 comments on commit 7bf5a4d

Please sign in to comment.