Re: [Maria-developers] [Commits] Rev 3145: MDEV-80 Memory engine table full at much less than max_heap_table_size with btree index. in file:///home/hf/wmar/mdev80/

Hi, Holyfoot! So, does that mean you've managed to reproduce the bug? Or you just found a possible cause for such a behavior and fixed it? On Apr 05, holyfoot@askmonty.org wrote:
revno: 3145 revision-id: holyfoot@askmonty.org-20120405082116-w4xqjil2adoq12r3 parent: sergii@pisem.net-20120404134150-6bonhsdqyrxjhku5 committer: Alexey Botchkov <holyfoot@askmonty.org> branch nick: mdev80 timestamp: Thu 2012-04-05 13:21:16 +0500 message: MDEV-80 Memory engine table full at much less than max_heap_table_size with btree index. RB-tree index in the MEMORY table fails if it grews over 4G. That happened because the old_allocated variable in hp_rb_write_key() had the uint type. Changed with the 'size_t' type to be same as the 'rb_tree.allocated'.
per-file comments: storage/heap/hp_write.c MDEV-80 Memory engine table full at much less than max_heap_table_size with btree index. uint->size_t for the 'old_allocated'.
Regards, Sergei

Sergei, 06.04.2012 1:21, Sergei Golubchik wrote:
Hi, Holyfoot!
So, does that mean you've managed to reproduce the bug? Or you just found a possible cause for such a behavior and fixed it?
I finally found out how to reproduce this bug and verified the fix cures the problem. (thanks to Jason Preuss who gave me an access to the machine where i could experiment) It'd be probably good to have a test for that issue, but i didn't figure out how it can be done in reality. To reproduce this bug we have to grow the RBtree key over 4G. Regards HF

Hi, Alexey! On Apr 06, Alexey Botchkov wrote:
Sergei,
06.04.2012 1:21, Sergei Golubchik wrote:
Hi, Holyfoot!
So, does that mean you've managed to reproduce the bug? Or you just found a possible cause for such a behavior and fixed it?
I finally found out how to reproduce this bug and verified the fix cures the problem. (thanks to Jason Preuss who gave me an access to the machine where i could experiment)
Great, go on and push, please! Regards, Sergei

06.04.2012 1:21, Sergei Golubchik wrote:
So, does that mean you've managed to reproduce the bug?
If you're interested i've reproduced this bug on our terrier machine as well. Thought it takes about half-an-hour to happen. Takes the eternity with the debug build. Regards. HF
participants (2)
-
Alexey Botchkov
-
Sergei Golubchik