)]}'
{
  "commit": "d458e7be5579c16649aece4de95efb1792126d3b",
  "tree": "fba10bdbb781a432ceb15567a7c40ddc178852dc",
  "parents": [
    "506a7705a911ccb178da52df98f8a3abcb2c0f09"
  ],
  "author": {
    "name": "Christofer Dutz",
    "email": "christofer.dutz@c-ware.de",
    "time": "Tue Nov 10 11:09:56 2026 +0100"
  },
  "committer": {
    "name": "Christofer Dutz",
    "email": "christofer.dutz@c-ware.de",
    "time": "Tue Nov 10 11:09:56 2026 +0100"
  },
  "message": "[Storage] Reserve twice the queued share for the growth of the chunk buffers\n\nThe queued chunk writers\u0027 page buffers grow by doubling, so their capacity\ncan exceed the raw data counted by memSize. With the I/O consumer stalled,\nnine PLAIN DOUBLE series of 60,000 points (time column PLAIN as well) queue\n9,441,072 bytes of buffers against a memSize of 8,640,000. The previous\nestimate falls short the same way once there are more series than queue\nslots (300 series of 6,000 points: 1.37 times the reservation).\n\nThe estimate now doubles the queued share, which is still capped at the\nmemtable size, so a flush reserves at most twice the memtable.\nMemTableFlushTaskTest stalls the I/O consumer until the queue is full and\nchecks that the reservation covers the capacity of the queued buffers.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "66b55cbaa0d41c691090a222fd628c66cad54f88",
      "old_mode": 33188,
      "old_path": "iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/flush/MemTableFlushTask.java",
      "new_id": "fbbb889d5276f60bfa105de0b095a1bf8437898d",
      "new_mode": 33188,
      "new_path": "iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/flush/MemTableFlushTask.java"
    },
    {
      "type": "modify",
      "old_id": "487e9c4822d5dcfb6992e1e577fe3c611567f9a3",
      "old_mode": 33188,
      "old_path": "iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/flush/FlushMemoryEstimateTest.java",
      "new_id": "fd532bbeddd8023137eb9174790ec1842d913922",
      "new_mode": 33188,
      "new_path": "iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/flush/FlushMemoryEstimateTest.java"
    },
    {
      "type": "modify",
      "old_id": "82470bef0222be0917efd1a5982a86afb84e1f18",
      "old_mode": 33188,
      "old_path": "iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/memtable/MemTableFlushTaskTest.java",
      "new_id": "275d16952103f99a9b553f962642d0ca6b28bfd8",
      "new_mode": 33188,
      "new_path": "iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/memtable/MemTableFlushTaskTest.java"
    }
  ]
}
