Hi!
> 19 июля 2018 г., в 23:26, Andrey Borodin <x4mmm@yandex-team.ru> написал(а):
>
> I'm working on triggering left split during vacuum. Will get back when done. Thanks!
Here's patch including some messy hacks to trigger NSN and FollowRight jumps during VACUUM.
To trigger FollowRight GiST sometimes forget to clear follow-right marker simulating crash of an insert. This fills
logswith "fixing incomplete split" messages. Search for "REMOVE THIS" to disable these ill-behavior triggers.
To trigger NSN jump GiST allocate empty page after every real allocation.
gistvacuumcleanup() was constantly generating left jumps because there was used 0 instead of real start NSN, I moved
NSNacquisition to gistvacuumscan(). Also fixed some comments.
gistvacuumcleanup() will have same effect as gistbulkdelete(), is it OK?
To reproduce left-jumps run ./rescantest.sh
Script contain variables for my local paths.
Best regards, Andrey Borodin.