Commit 035b2a9
authored
fix(shard): relax disk persistence assertion after compression (#542)
After encryption + ternary encoding + RLE compression, data size is
much smaller than original. With shard_size=64, this results in far
fewer shards than expected. Change assertion to total_recovered > 0
to verify loadFromDisk() works without requiring exact shard count.
Closes #432, Closes #4331 parent dcc0a3e commit 035b2a9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
849 | 849 | | |
850 | 850 | | |
851 | 851 | | |
852 | | - | |
| 852 | + | |
853 | 853 | | |
854 | 854 | | |
855 | 855 | | |
| |||
0 commit comments