Expected behavior
While my node was running it get an internal failure that force it to stop the running
02023-02-21T23:29:22Z Syncing basic block filter index with block chain from height 624447
12023-02-21T23:29:34Z ERROR: SerializeFileDB: Rename-into-place failed
22023-02-21T23:29:52Z Syncing basic block filter index with block chain from height 624889
32023-02-21T23:30:22Z ERROR: ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize(): size too large: iostream error at FlatFilePos(nFile=2030, nPos=82255446)
42023-02-21T23:30:22Z *** ThreadSync: Failed to read block 0000000000000000000def83407e184fbc5f53b47effdaef7b15e2d6f6b8579d from disk
52023-02-21T23:30:22Z Error: A fatal internal error occurred, see debug.log for details
The code is based on the commit 94070029fb6b783833973f9fe08a3a871994492f
To reproduce
No idea how I can reproduce it, now I switch to the tagged version to see if this happens too
System information
 0➜  bitcoin git:(master) neofetch                                        
 1       _,met$$$$$gg.          vincent@x86 
 2    ,g$$$$$$$$$$$$$$$P.       ----------- 
 3  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 11 (bullseye) x86_64 
 4 ,$$P'              `$$$.     Host: OptiPlex 3050 
 5',$$P       ,ggs.     `$$b:   Kernel: 5.10.0-21-amd64 
 6`d$$'     ,$P"'   .    $$$    Uptime: 5 days, 16 hours, 33 mins 
 7 $$P      d$'     ,    $$P    Packages: 502 (dpkg) 
 8 $$:      $$.   -    ,d$$'    Shell: zsh 5.8 
 9 $$;      Y$b._   _,d$P'      Terminal: /dev/pts/1 
10 Y$$.    `.`"Y$$$$P"'         CPU: Intel i5-7500T (4) @ 3.300GHz 
11 `$$b      "-.__              GPU: Intel HD Graphics 630 
12  `Y$$                        Memory: 2214MiB / 7840MiB 
13   `Y$$.
14     `$$b.                                            
15       `Y$$b.                                         
16          `"Y$b._
17              `"""