TreeMap#size() returns wrong values after rollback #89

Closed
jschneider opened this Issue Jul 10, 2012 · 0 comments

2 participants

@jschneider

Bug or feature?

SortedMap<Integer, String> map = db.createTreeMap("collectionName");

map.put(1, "one");
map.put(2, "two");

//map.size() --> 2
db.commit(); //persist changes into disk

map.put(3, "three");
//map.size() --> 3
db.rollback(); //revert recent changes
//map.size() --> 3 ????
@jankotek jankotek closed this Aug 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment