You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2019/04/25 15:22:03 UTC

[GitHub] [incubator-iotdb] fanhualta commented on a change in pull request #163: [IOTDB-58] Replace list by array and refactor TsFileResource

fanhualta commented on a change in pull request #163: [IOTDB-58] Replace list by array and refactor TsFileResource
URL: https://github.com/apache/incubator-iotdb/pull/163#discussion_r278590845
 
 

 ##########
 File path: iotdb/src/main/java/org/apache/iotdb/db/engine/filenode/FileNodeProcessor.java
 ##########
 @@ -549,6 +547,17 @@ public BufferWriteProcessor getBufferWriteProcessor(String processorName, long i
     return bufferWriteProcessor;
   }
 
+  /**
+   * get buffer write processor.
+   */
+  public BufferWriteProcessor getBufferWriteProcessor() throws FileNodeProcessorException {
+    if (bufferWriteProcessor == null) {
+      LOGGER.error("The bufferwrite processor is null when get the bufferwriteProcessor");
 
 Review comment:
   The bufferwrite processor is null when get it ? Or just attention grammar `bufferwriteProcessor`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services