From 703304ed8c19d4bc7a2bb7ff0800e5047ccc12c4 Mon Sep 17 00:00:00 2001 From: Andrew Toth Date: Wed, 15 Jul 2026 19:30:45 -0400 Subject: [PATCH] doc: add release notes for txindex disk usage and downgrading --- doc/release-notes-35531.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/release-notes-35531.md diff --git a/doc/release-notes-35531.md b/doc/release-notes-35531.md new file mode 100644 index 00000000000..90e6014c8c1 --- /dev/null +++ b/doc/release-notes-35531.md @@ -0,0 +1,12 @@ +## Index + +- The transaction index (`-txindex`) now stores less data on disk; a fully + rebuilt index takes less than half the space. The index is backwards compatible, + so existing users will not see the space saving unless the index is recreated. + To do so, stop the node, delete the `/indexes/txindex` directory, and + restart; rebuilding can take up to a few hours depending on hardware. Progress + can be monitored using the `getindexinfo` RPC. Once rebuilt, the index can no + longer be read by previous releases, so downgrading will rebuild it again in + the old format. When downgrading permanently, delete the + `/indexes/txindex` directory first, since previous releases do not + reclaim the space used by entries in the new format. (#35531)