@Override
  public void updateCacheStatusAfterAppend(ICachedMNode node) {
    pinMNodeWithMemStatusUpdate(node);
    CacheEntry cacheEntry = getCacheEntry(node);
    cacheEntry.setVolatile(true);
    memoryStatistics.addVolatileNode();
    // the ancestors must be processed first since the volatileDescendant judgement is of higher
    // priority than
    // children container judgement
    removeAncestorsFromCache(node);
    getBelongedContainer(node).appendMNode(node);
    nodeBuffer.addNewNodeToBuffer(node);
  }
The new appended node should be cached and the volatile subtree it belonged should be added to
nodeBuffer.

@param node
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/mtree/impl/pbtree/memory/MemoryManager.java