#27641·influxdb

[v3 Enterprise 3.11.4] Pacha Tree compactor repeatedly replans work against missing .pt files

Author: prvashishtCreated Sep 18, 2026Updated Sep 18, 2026

I ran into a Pacha Tree compaction problem on InfluxDB 3 Enterprise 3.11.4 while cleaning up old data.

Once the database got into this state, the compactor kept creating new plans against .pt files which were no longer present. The individual slice failures were marked retryable=false, but new plans kept hitting the same small set of missing paths.

The homeassistant database was created fresh on a cluster already using Pacha Tree under Enterprise 3.11.1. It was not converted from Parquet. I then backfilled the historical data from InfluxDB 1.8 through the v2-compatible write API. The bulk backfill covered 2021-08-23 through 2026-08-29, followed by a final tail import through the September 9 writer cutover. The app was running Enterprise 3.11.4 by the time of this cleanup.

I stopped the InfluxDB3 app before creating the Home Assistant partial backup used for the reproduction below. I extracted a copy of that stopped app-data snapshot on another machine and reproduced the same behaviour using the official 3.11.4 Enterprise image, without Home Assistant or the add-on wrapper involved.

What happened: Before the row deletes, I soft-deleted 60 tables which contained only data I wanted to remove. These were soft deletes only. I did not set hard_delete_at for those tables.

I then used the Enterprise row-delete API to remove old series from the remaining mixed tables. These were all-time deletes using equality predicates on the entity_id tag.

For this cleanup I temporarily set:

INFLUXDB3_ROW_DELETE_MIN_AGE=1s

The first 950 row-delete requests were reported completed. At the metrics scrape I used for this check, pending row deletes and snapshot lag were both 0.

The cumulative compactor metrics at that scrape showed about 22.4 million rows deleted and 4,119 files rewritten.

I then queued another 50 row-delete requests, sequences 951 through 1000.

Those requests stopped making progress while the compactor repeatedly failed on missing historical .pt files. I stopped the cleanup at that point instead of queueing the remaining deletes.

I aborted those 50 requests after the missing-object loop was already happening. I then manually moved their request JSON files out of the active row_deletes directory.

Restarting InfluxDB did not clear the state. The plan numbering restarted and the missing-file failures began again.

Steps to reproduce: I do not have a reproduction starting from an empty database. I can reproduce the problem consistently from the stopped affected store.

The stopped snapshot used for the test contained:

5128 .pt files
950 completed request JSONs in the active row_deletes directory
50 aborted request JSONs for sequences 951-1000 moved outside the active row_deletes directory

I started a fresh copy with the official Enterprise 3.11.4 image using:

bash
docker run -d \
  --network none \
  --entrypoint influxdb3 \
  -v "<saved-store>/data:/data" \
  -e INFLUXDB3_WEBUI_SESSION_SECRET \
  -e INFLUXDB3_LICENSE_TYPE=home \
  -e INFLUXDB3_LOG_FILTER=info \
  -e INFLUXDB3_NUM_CORES=2 \
  -e INFLUXDB3_EXEC_MEM_POOL_SIZE=1gb \
  -e INFLUXDB3_FILE_CACHE_SIZE=512mb \
  -e INFLUXDB3_QUERY_FILE_LIMIT=500 \
  -e INFLUXDB3_COMPACTOR_INPUT_SIZE_BUDGET=1gb \
  influxdb:3.11.4-enterprise \
  serve \
    --node-id node0 \
    --cluster-id cluster0 \
    --object-store file \
    --data-dir /data/influxdb3 \
    --plugin-dir /data/influx-plugins \
    --async-trigger-concurrency-limit 8 \
    --mode all,webui

The resource-limit environment variables above matched the production settings at the time.

The reproduction did not set INFLUXDB3_ROW_DELETE_MIN_AGE=1s.

The container had networking disabled and I observed it for 60 seconds.

The result was:

Object not found: 2016
slice failed permanently: 2016
retryable=false: 2016

Those 2,016 failures referenced only 32 unique .pt paths, across historical daily windows from 2021-08-23 through 2021-09-23.

I checked those 32 paths against the untouched stopped snapshot before starting the reproduction. All 32 were already absent before the test engine started.

I then repeated the test from another fresh copy after moving all 950 completed row-delete JSON files out of the active row_deletes directory.

The active row_deletes directory was empty before starting InfluxDB.

That run produced:

Object not found: 1984
slice failed permanently: 1984
retryable=false: 1984

The unique error set was again the same 32 .pt paths.

I also tested another fresh copy with compaction omitted:

--mode ingest,query --without-auth

This test was local and Docker networking was disabled. --without-auth was used only on this isolated disposable copy.

A bounded v1 query for an existing series returned the expected existing row.

I also wrote one disposable point to a separate test database. The write returned HTTP 204 and an immediate v1 query returned the point successfully.

After that test there were:

0 Object not found
0 slice failed permanently
0 retryable=false
0 ERROR lines

Expected behaviour: If compaction encounters a missing .pt object and that work fails permanently, I would expect the handling to be bounded rather than the same small set of missing objects being replanned indefinitely.

Actual behaviour: With normal compaction enabled, the engine keeps planning work against the missing .pt files.

In the 60 second reproduction there were 2,016 permanent failures across only 32 unique paths.

The slice failures contain retryable=false, but new plans continue to hit the same path set.

Restarting InfluxDB resets the plan numbering, after which the same pattern starts again.

Moving all 950 completed row-delete request files out of the active directory does not change the 32-path error set.

With compaction omitted, the same stopped database state produced none of the missing-object error signatures during the bounded test. The specific existing-series v1 read and disposable v1 write/readback described above both succeeded.

Environment info: Independent reproduction:

InfluxDB 3 Enterprise 3.11.4
revision 6ee8b0e752e7dbe25b01eeceaf1bb1d9b107ff3a

Docker image:
influxdb:3.11.4-enterprise

Local Docker image ID:
sha256:18ca72fb87a7b65d69c88eb69641c42485ca7feb7b2824eb589405cba3d586ab

Docker Desktop 29.7.2
Linux aarch64 Docker VM
Docker network disabled for the reproduction

Original production environment:

InfluxDB 3 Enterprise 3.11.4
Pacha Tree
local file object store
At-Home license

Raspberry Pi 4
aarch64
Home Assistant OS 18.2
Docker 29.6.2

erik73/app-influxdb3 Home Assistant app 1.1.3

The app's v1.1.3 wrapper starts InfluxDB with:

influxdb3 serve
  --node-id node0
  --cluster-id cluster0
  --object-store file
  --data-dir /data/influxdb3
  --plugin-dir /data/influx-plugins
  --async-trigger-concurrency-limit 8
  --mode all,webui

The production instance also used the resource-limit environment variables shown in the reproduction command above.

Config: Copy any non-default config values here or attach the full config as a gist or file.

Logs: These are actual lines from the 60 second reproduction. I have only replaced the table-id part of the paths:

2026-09-12T19:37:20.208125Z ERROR influxdb3_pacha_tree::enterprise::compactor::compactor_loop::completion: slice failed permanently plan_id=plan-2016 output_group_id=og-2016 slice_id=slice-2016 attempts=1 retryable=false error=Object not found: Object at location /data/influxdb3/<table-id>/cluster0/cv2/windows/2021-09-23/p0/files/00000000000000065583.pt not found: No such file or directory (os error 2)

2026-09-12T19:37:20.208468Z ERROR influxdb3_pacha_tree::enterprise::compactor::compactor_loop::completion: slice failed permanently plan_id=plan-1992 output_group_id=og-1992 slice_id=slice-1992 attempts=1 retryable=false error=Object not found: Object at location /data/influxdb3/<table-id>/cluster0/cv2/windows/2021-08-30/p0/files/00000000000000063589.pt not found: No such file or directory (os error 2)

2026-09-12T19:37:20.208775Z ERROR influxdb3_pacha_tree::enterprise::compactor::compactor_loop::completion: slice failed permanently plan_id=plan-1998 output_group_id=og-1998 slice_id=slice-1998 attempts=1 retryable=false error=Object not found: Object at location /data/influxdb3/<table-id>/cluster0/cv2/windows/2021-09-05/p0/files/00000000000000063762.pt not found: No such file or directory (os error 2)

2026-09-12T19:37:20.209131Z ERROR influxdb3_pacha_tree::enterprise::compactor::compactor_loop::completion: slice failed permanently plan_id=plan-1996 output_group_id=og-1996 slice_id=slice-1996 attempts=1 retryable=false error=Object not found: Object at location /data/influxdb3/<table-id>/cluster0/cv2/windows/2021-09-03/p0/files/00000000000000063736.pt not found: No such file or directory (os error 2)

2026-09-12T19:37:20.209442Z ERROR influxdb3_pacha_tree::enterprise::compactor::compactor_loop::completion: slice failed permanently plan_id=plan-1989 output_group_id=og-1989 slice_id=slice-1989 attempts=1 retryable=false error=Object not found: Object at location /data/influxdb3/<table-id>/cluster0/cv2/windows/2021-08-27/p0/files/00000000000000062634.pt not found: No such file or directory (os error 2)

Recovery:

I eventually stopped doing further cleanup on the affected store and rebuilt the data I wanted to keep into a new clean Enterprise 3.11.4 Pacha Tree database.

The rebuilt database has been running without the missing-object compactor loop.

Is this a known Pacha Tree issue in 3.11.4?

Is there a supported way to check or recover a Pacha Tree store once the compactor is repeatedly planning work against .pt objects which are no longer present?