Subject: | Regression updating values and trying to re-read them later. |
We use MongoDB to abstract a key-value implementation called a
"NameCache".
Extract the attached archive and run ./NameCache-MongoDB.pl.
It works great in <= 0.40, and dies hard in 0.41. What changed?
This is what our NameCache code, the smallest snip I can make to
reproduce the problem:
$nc->set('xxx', 'zzz');
$nc->set('rrr', 'zzz');
# Right here, the key "xxx" should hold the value "zzz", but for version
0.41 it returns undef!
Fatal( 'get(xxx): should be zzz!' , $nc->get('xxx')) if ($nc->get('xxx')
ne 'zzz');
It could be a bug in our code, but I know this worked in 0.40 and
stopped working in 0.41.
Any help you can offer on what changed from 0.40 to 0.41 would be
greatly appreciated!
Thank you!
-Eric
Subject: | MongoDB-0.41-debug.tar.gz |
Message body not shown because it is not plain text.