Create docs for reclaiming an index
See original GitHub issueRelated to deprecation of the wiki https://github.com/paritytech/wiki/pull/335
Old:
To reclaim an index I
, you must be sure that I
is currently mapped to a dead account (i.e. one with zero total balance). You need to craft a transaction that creates a new account by placing some balance B
in it. B
must satisfy these conditions:
B % 256 == 105
B / 256 % E == I
Where E
is the quantized account index count:
E := (next_set_index * enum_set_size / 256 + 1) * 256
Given an amount to transfer A
, you can calculate the lowest amount that is at least A
, A'
which will attempt to reclaim I
as:
(Q(N / 256 + (E - 1 - I), E) + I) * 256 + N % 256
Where
N := Q(A + (256 - 1 - 105), 256) + 105
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Index API | Elasticsearch Guide [8.5] | Elastic
You can index a new JSON document with the _doc or _create resource. Using _create guarantees that the document is only indexed if...
Read more >Free up disk space in Amazon OpenSearch service - AWS
To reclaim disk space immediately, you can delete an index instead of deleting individual documents. Or, you can also use the force merge ......
Read more >Index cleanup and maintenance - IBM
If the objective is to reclaim space, use the REORG INDEXES command with the CLEANUP and RECLAIM EXTENTS parameters.
Read more >elasticsearch: how to free store size after deleting documents
Deleting documents only flags these as deleted, so they would not be searched. To reclaim disk space, you have to optimize the index:...
Read more >Documentation: 15: 25.2. Routine Reindexing - PostgreSQL
B-tree index pages that have become completely empty are reclaimed for re-use. However, there is still a possibility of inefficient use of space:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could potentially just live with the Indices module reference docs
@JoshOrndorff I think maintenance is handed off to the core dev team, but we are still on the hook for doing the first draft and getting it reviewed and merged in. But that could be different depending on who you ask so… ¯\(ツ)/¯