directory-mavibot.git
4 years ago[maven-release-plugin] copy for tag 1.0.0-M3 1.0.0-M3
Emmanuel Lécharny [Wed, 11 Dec 2013 05:36:49 +0000 (05:36 +0000)] 
[maven-release-plugin]  copy for tag 1.0.0-M3

4 years ago[maven-release-plugin] prepare release 1.0.0-M3
Emmanuel Lécharny [Wed, 11 Dec 2013 05:36:35 +0000 (05:36 +0000)] 
[maven-release-plugin] prepare release 1.0.0-M3

4 years agoo Fixed some warnings
Emmanuel Lécharny [Wed, 11 Dec 2013 04:42:56 +0000 (04:42 +0000)] 
o Fixed some warnings
o @Ignore a debug test

4 years agoo Moved some more Result classes to a common package
Emmanuel Lécharny [Wed, 11 Dec 2013 04:30:07 +0000 (04:30 +0000)] 
o Moved some more Result classes to a common package
o Fixed a potential ByteBuffer modification in Strings
o Removed some warnings

4 years agoo Heavy refactoring of both managed and in-memory btree, which are now sharing more...
Emmanuel Lécharny [Tue, 10 Dec 2013 20:42:16 +0000 (20:42 +0000)] 
o Heavy refactoring of both managed and in-memory btree, which are now sharing more code (Result classes, Page, ParentPos, Transaction)
o Lots of fixes in the cursor code
o Fixes in the tests to reflect those changes

4 years agoFixed typoes
Emmanuel Lécharny [Wed, 4 Dec 2013 02:21:18 +0000 (02:21 +0000)] 
Fixed typoes

4 years agoThe value cursor is now created in the Leaf
Emmanuel Lécharny [Tue, 3 Dec 2013 16:17:09 +0000 (16:17 +0000)] 
The value cursor is now created in the Leaf

4 years agoo The ElementHolder.getValue() does not need a BTre argument anymore
Emmanuel Lécharny [Tue, 3 Dec 2013 15:11:44 +0000 (15:11 +0000)] 
o The ElementHolder.getValue() does not need a BTre argument anymore
o Renamed the ParentPos.dupsContainer to valueCursor (an attempt to close the gap with the managerBTree ParentPos class)
o Using the TupleCursor interface instead of the TupleCursorImpl class
o Some minor cleanup

4 years agoFixed a big bug in the delete operation : we were copying the modified page into...
Emmanuel Lécharny [Sun, 1 Dec 2013 18:06:29 +0000 (18:06 +0000)] 
Fixed a big bug in the delete operation : we were copying the modified page into a new page, smaller from the original one, but all the values were copied, which led to a ArrayOutOfBoundException. This exception was silently ignored...

4 years agoRemoved some System.out.println
Emmanuel Lécharny [Fri, 29 Nov 2013 11:16:30 +0000 (11:16 +0000)] 
Removed some System.out.println

4 years agoUpdate the value when we try to insert an existing value (because the value might...
Emmanuel Lécharny [Fri, 29 Nov 2013 11:06:06 +0000 (11:06 +0000)] 
Update the value when we try to insert an existing value (because the value might have changed but the comparator does not see this modification)

4 years agoDon't store the sub-btree into the managedBTrees Map, so they aren't stored in memory...
Emmanuel Lécharny [Fri, 29 Nov 2013 03:40:06 +0000 (03:40 +0000)] 
Don't store the sub-btree into the managedBTrees Map, so they aren't stored in memory for ever even when a page is discarded

4 years agoo Fixed some bad positioning in the nextKey method, when we try to move after one...
Emmanuel Lécharny [Fri, 29 Nov 2013 03:39:08 +0000 (03:39 +0000)] 
o Fixed some bad positioning in the nextKey method, when we try to move after one key which is in the last page

4 years agoo Added a dump(PageIO) method for debug purpose
Emmanuel Lécharny [Thu, 28 Nov 2013 12:12:50 +0000 (12:12 +0000)] 
o Added a dump(PageIO) method for debug purpose
o Fixed a bad comparison that made the conversion of an array to a subbtree too early, and resulted in a deserialization of an array to a subbtree.

4 years agoo modified the TupleReaderWriter interface for better control in implementations
Kiran Ayyagari [Wed, 27 Nov 2013 15:57:03 +0000 (15:57 +0000)] 
o modified the TupleReaderWriter interface for better control in implementations
o updated the managed BTree builder class to use RecordManager and renamed
o added a test class for managed BTree builder

4 years agofixed wrong index value
Kiran Ayyagari [Wed, 27 Nov 2013 15:53:08 +0000 (15:53 +0000)] 
fixed wrong index value

4 years agofixed the wrong count
Kiran Ayyagari [Wed, 27 Nov 2013 15:28:54 +0000 (15:28 +0000)] 
fixed the wrong count

4 years agoadded a test to check the root page count
Kiran Ayyagari [Wed, 27 Nov 2013 11:26:37 +0000 (11:26 +0000)] 
added a test to check the root page count

4 years agoo Huge refactoring in the way we hold ValueHolder
Emmanuel Lécharny [Wed, 27 Nov 2013 07:03:46 +0000 (07:03 +0000)] 
o Huge refactoring in the way we hold ValueHolder
o The TupleCursor interface have renamed methods and added ones
o Many fixes in the serialization/deserialition
o SpeedUp in managed BTrees

4 years agoAdded some methods to test the browseFrom method
Emmanuel Lécharny [Wed, 13 Nov 2013 10:50:34 +0000 (10:50 +0000)] 
Added some methods to test the browseFrom method

4 years agoo Some more fix for the browseFrom() method : we were not remembering the current...
Emmanuel Lécharny [Wed, 13 Nov 2013 10:50:11 +0000 (10:50 +0000)] 
o Some more fix for the browseFrom() method : we were not remembering the current position
o We also started from the first element of a node, which is not good for the browseFrome method

4 years agoo Fixed some issue when browsing from a non existing key outside of the range of...
Emmanuel Lécharny [Wed, 13 Nov 2013 09:30:46 +0000 (09:30 +0000)] 
o Fixed some issue when browsing from a non existing key outside of the range of keys

4 years agoFixed some potential NPE when browsing an empty BTree
Emmanuel Lécharny [Wed, 13 Nov 2013 08:59:21 +0000 (08:59 +0000)] 
Fixed some potential NPE when browsing an empty BTree

4 years agoFixed a bug in delete : when we remove a value in a ValueHodler having more than...
Emmanuel Lécharny [Tue, 12 Nov 2013 17:39:06 +0000 (17:39 +0000)] 
Fixed a bug in delete : when we remove a value in a ValueHodler having more than 1 value, we have to copy the ValueHolder and delete the value in this copy. This was not what we were doing, leading to some modified ValueHolder in the previous revision.

4 years agoo Fixed a bug in the way we were serializing keys in pages
Emmanuel Lécharny [Mon, 11 Nov 2013 19:53:35 +0000 (19:53 +0000)] 
o Fixed a bug in the way we were serializing keys in pages
o Added a way to inject a different cache size

4 years agoo Shared the cache with any sub-btree, to avoid creating a new one for each sub-btree
Emmanuel Lécharny [Fri, 8 Nov 2013 18:52:30 +0000 (18:52 +0000)] 
o Shared the cache with any sub-btree, to avoid creating a new one for each sub-btree

4 years agoRemoved some useless sysout
Emmanuel Lécharny [Fri, 8 Nov 2013 11:39:03 +0000 (11:39 +0000)] 
Removed some useless sysout

4 years agoo Modified the way we handle the values when we have duplicates. We now use either...
Emmanuel Lécharny [Fri, 8 Nov 2013 11:37:27 +0000 (11:37 +0000)] 
o Modified the way we handle the values when we have duplicates. We now use either an Array or  sub-btree
o Modified the cursor and the way it works (no more linkedList created, we use a direct array)

4 years agoo Rename dupsContaier to valueHolder
Emmanuel Lécharny [Mon, 4 Nov 2013 10:12:52 +0000 (10:12 +0000)] 
o Rename dupsContaier to valueHolder
o Fixed some methods in InternalUtils, they weren't initializing correctly the parentPos.valueHolder

4 years agoRenamed CursorImpl to TupleCursorImpl
Emmanuel Lécharny [Mon, 4 Nov 2013 09:49:50 +0000 (09:49 +0000)] 
Renamed CursorImpl to TupleCursorImpl

4 years agoUsed TupleCursor instead of CursorImpl
Emmanuel Lécharny [Mon, 4 Nov 2013 09:21:15 +0000 (09:21 +0000)] 
Used TupleCursor instead of CursorImpl

4 years agoRemoved the useless comparator field : it's deduced from the keySerializer
Emmanuel Lécharny [Mon, 4 Nov 2013 06:17:17 +0000 (06:17 +0000)] 
Removed the useless comparator field : it's deduced from the keySerializer

4 years agoo Added a getKeyHolder method in Node, it's needed if we want to get the raw value
Emmanuel Lécharny [Sat, 2 Nov 2013 08:32:17 +0000 (08:32 +0000)] 
o Added a getKeyHolder method in Node, it's needed if we want to get the raw value
o A fix in the ValueHolder.hasNext() method : we were going one step too far in the elements stored
o The ValueHolder.remove() method was growing the array used to store the element instead of decrementing it

4 years ago[maven-release-plugin] prepare for next development iteration
Emmanuel Lécharny [Tue, 29 Oct 2013 08:43:16 +0000 (08:43 +0000)] 
[maven-release-plugin] prepare for next development iteration

4 years ago[maven-release-plugin] prepare release 1.0.0-M2
Emmanuel Lécharny [Tue, 29 Oct 2013 08:43:01 +0000 (08:43 +0000)] 
[maven-release-plugin] prepare release 1.0.0-M2

4 years agoApplied the KeyNotFoundException speedup in the InMemory BTree
Emmanuel Lécharny [Sun, 27 Oct 2013 09:07:08 +0000 (09:07 +0000)] 
Applied the KeyNotFoundException speedup in the InMemory BTree

4 years agoSpeedup : throw a static exception when a key is not found, instead of creating a...
Emmanuel Lécharny [Sun, 27 Oct 2013 09:04:05 +0000 (09:04 +0000)] 
Speedup : throw a static exception when a key is not found, instead of creating a new one

4 years agoApplied a lot of changes to be able to inject more than 50 000 entries in a BTree...
Emmanuel Lécharny [Sun, 27 Oct 2013 08:48:07 +0000 (08:48 +0000)] 
Applied a lot of changes to be able to inject more than 50 000 entries in a BTree (mainly dealing with the replacement of WeakReference with a cache).
We now have two different ind of BTrees :
- managed (ie, written on disk)
- in-memory
Duplicate values are stored as an array of values up to a number of values, then a sub-btree is created (for managed btrees only).

4 years agoInjected the type into the serializers
Emmanuel Lécharny [Sat, 5 Oct 2013 06:42:08 +0000 (06:42 +0000)] 
Injected the type into the serializers

4 years agoo Renamed the CacheHolder to PageHolder, to reflect the data it stores
Emmanuel Lécharny [Fri, 4 Oct 2013 09:26:30 +0000 (09:26 +0000)] 
o Renamed the CacheHolder to PageHolder, to reflect the data it stores
o Simplified the generics in use for this class

4 years agoo Get rid of some unused code
Emmanuel Lécharny [Fri, 4 Oct 2013 09:15:43 +0000 (09:15 +0000)] 
o Get rid of some unused code
o Added some missing generics

4 years agoAdded some javadoc
Emmanuel Lécharny [Fri, 4 Oct 2013 08:38:09 +0000 (08:38 +0000)] 
Added some javadoc

4 years agoo Changed the key serialization so that we load KeyHolders instead of Keys
Emmanuel Lécharny [Fri, 4 Oct 2013 05:45:54 +0000 (05:45 +0000)] 
o Changed the key serialization so that we load KeyHolders instead of Keys

4 years agoForgot to commit the addition of a utf8ToStrin(ByteBuffer) method
Emmanuel Lécharny [Thu, 3 Oct 2013 05:06:08 +0000 (05:06 +0000)] 
Forgot to commit the addition of a utf8ToStrin(ByteBuffer) method

4 years agoAvoided useless ByteBuffer -> byte[] -> ByteBuffer copies when dealing with page...
Emmanuel Lécharny [Tue, 1 Oct 2013 20:26:07 +0000 (20:26 +0000)] 
Avoided useless ByteBuffer -> byte[] -> ByteBuffer copies when dealing with page reads

4 years agoRemoved a useless data structure
Emmanuel Lécharny [Tue, 1 Oct 2013 18:11:46 +0000 (18:11 +0000)] 
Removed a useless data structure

4 years agoAdded a KeyHolder to store the key or a reference if it's not yet deserialized
Emmanuel Lécharny [Tue, 1 Oct 2013 11:41:01 +0000 (11:41 +0000)] 
Added a KeyHolder to store the key or a reference if it's not yet deserialized

4 years agoSplit the BTree packages into 2 different packages :
Emmanuel Lécharny [Mon, 30 Sep 2013 06:32:25 +0000 (06:32 +0000)] 
Split the BTree packages into 2 different packages :
- one for in-memory btrees
- one for managed btree

4 years agoFixed a constructor, a parameter was ignored
Emmanuel Lécharny [Wed, 11 Sep 2013 12:22:45 +0000 (12:22 +0000)] 
Fixed a constructor, a parameter was ignored

4 years agoForgot to commit the pom which refers to the ehcache dependency
Emmanuel Lécharny [Wed, 11 Sep 2013 08:55:32 +0000 (08:55 +0000)] 
Forgot to commit the pom which refers to the ehcache dependency

4 years agoo Replaced the ReferenceHolder by a CacheHolder everywhere we have a managed BTree
Emmanuel Lécharny [Tue, 10 Sep 2013 16:27:18 +0000 (16:27 +0000)] 
o Replaced the ReferenceHolder by a CacheHolder everywhere we have a managed BTree
o The offsets are now set in the CacheHolder class
o Added a EhCache instance with a default value of 1000
o Added a configuration element to set the cache size

4 years agoAdded a schema used in the site
Emmanuel Lécharny [Mon, 9 Sep 2013 08:26:24 +0000 (08:26 +0000)] 
Added a schema used in the site

4 years agoAdded some counters
Emmanuel Lécharny [Mon, 9 Sep 2013 08:24:28 +0000 (08:24 +0000)] 
Added some counters

4 years agoavoid creating a sub-tree if only one value is present for a key in a tree that allow...
Kiran Ayyagari [Thu, 29 Aug 2013 10:12:13 +0000 (10:12 +0000)] 
avoid creating a sub-tree if only one value is present for a key in a tree that allows duplicate keys (MAVIBOT-8)

5 years agoAdded the Javadoc and xref generation
Emmanuel Lécharny [Thu, 15 Aug 2013 08:56:45 +0000 (08:56 +0000)] 
Added the Javadoc and xref generation

5 years agoSwitched to Java 6 instead of Java 7
Emmanuel Lécharny [Thu, 15 Aug 2013 08:37:33 +0000 (08:37 +0000)] 
Switched to Java 6 instead of Java 7

5 years agoImplemented the Closeable interface (MAVIBOT-1)
Emmanuel Lécharny [Tue, 13 Aug 2013 15:01:13 +0000 (15:01 +0000)] 
Implemented the Closeable interface (MAVIBOT-1)

5 years agoRenamed DuplicateKeyMemoryHolder to MultipleMemoryHolder
Emmanuel Lécharny [Tue, 13 Aug 2013 10:12:03 +0000 (10:12 +0000)] 
Renamed DuplicateKeyMemoryHolder to MultipleMemoryHolder

5 years agoMore generic improvements
Emmanuel Lécharny [Tue, 13 Aug 2013 10:09:14 +0000 (10:09 +0000)] 
More generic improvements

5 years agoCleaned the generics for the BTreeFactory class
Emmanuel Lécharny [Tue, 13 Aug 2013 09:48:11 +0000 (09:48 +0000)] 
Cleaned the generics for the BTreeFactory class

5 years agoo write to journal after completing the operation (MAVIBOT-5)
Kiran Ayyagari [Mon, 12 Aug 2013 07:05:42 +0000 (07:05 +0000)] 
o write to journal after completing the operation (MAVIBOT-5)
o truncate the journal after applying and after flushing the data to disk

5 years agoUse TemporaryFolder rule for all test, should solve build issues on Windows.
Stefan Seelmann [Fri, 9 Aug 2013 18:52:37 +0000 (18:52 +0000)] 
Use TemporaryFolder rule for all test, should solve build issues on Windows.

5 years agoSome more generic fixes
Emmanuel Lécharny [Fri, 9 Aug 2013 18:44:11 +0000 (18:44 +0000)] 
Some more generic fixes

5 years agoSome more warnings removal
Emmanuel Lécharny [Fri, 9 Aug 2013 16:46:30 +0000 (16:46 +0000)] 
Some more warnings removal

5 years agoFixed many warnings
Emmanuel Lécharny [Fri, 9 Aug 2013 16:36:45 +0000 (16:36 +0000)] 
Fixed many warnings

5 years agoUpdated the mail link
Emmanuel Lécharny [Fri, 9 Aug 2013 16:09:25 +0000 (16:09 +0000)] 
Updated the mail link

5 years agoMade the generic easier to use for the end user. Fix for MAVIBOT-2
Emmanuel Lécharny [Fri, 9 Aug 2013 15:30:08 +0000 (15:30 +0000)] 
Made the generic easier to use for the end user. Fix for MAVIBOT-2

5 years ago[maven-release-plugin] prepare for next development iteration
Emmanuel Lécharny [Thu, 8 Aug 2013 12:38:45 +0000 (12:38 +0000)] 
[maven-release-plugin] prepare for next development iteration

5 years ago[maven-release-plugin] prepare release 1.0.0-M1
Emmanuel Lécharny [Thu, 8 Aug 2013 12:38:31 +0000 (12:38 +0000)] 
[maven-release-plugin] prepare release 1.0.0-M1

5 years agorolling back to 1.0.0-M1
Emmanuel Lécharny [Thu, 8 Aug 2013 12:13:07 +0000 (12:13 +0000)] 
rolling back to 1.0.0-M1

5 years ago[maven-release-plugin] prepare for next development iteration
Emmanuel Lécharny [Thu, 8 Aug 2013 11:25:06 +0000 (11:25 +0000)] 
[maven-release-plugin] prepare for next development iteration

5 years ago[maven-release-plugin] prepare release 1.0.0-M1
Emmanuel Lécharny [Thu, 8 Aug 2013 11:24:52 +0000 (11:24 +0000)] 
[maven-release-plugin] prepare release 1.0.0-M1

5 years agoRemoved some plugins from the pluginManagement, they are already declared in project
Emmanuel Lécharny [Thu, 8 Aug 2013 10:03:54 +0000 (10:03 +0000)] 
Removed some plugins from the pluginManagement, they are already declared in project

5 years agoRemoved the plugin versions from the pom, we already have them in the project pom
Emmanuel Lécharny [Thu, 8 Aug 2013 09:51:10 +0000 (09:51 +0000)] 
Removed the plugin versions from the pom, we already have them in the project pom

5 years agoSome fix in the main pom relative to the maven release plugin
Emmanuel Lécharny [Thu, 8 Aug 2013 09:25:26 +0000 (09:25 +0000)] 
Some fix in the main pom relative to the maven release plugin

5 years agoAnother attempr to get rid of the legal-gfiles error...
Emmanuel Lécharny [Wed, 7 Aug 2013 17:06:04 +0000 (17:06 +0000)] 
Another attempr to get rid of the legal-gfiles error...

5 years agoRemoved the 'i' that has been injected at the first position with vi
Emmanuel Lécharny [Wed, 7 Aug 2013 16:48:07 +0000 (16:48 +0000)] 
Removed the 'i' that has been injected at the first position with vi

5 years agoRemoved the manfestLocation directive in the felix plugin
Emmanuel Lécharny [Wed, 7 Aug 2013 16:36:13 +0000 (16:36 +0000)] 
Removed the manfestLocation directive in the felix plugin

5 years agoDeleted the empty diectory
Emmanuel Lécharny [Wed, 7 Aug 2013 16:30:51 +0000 (16:30 +0000)] 
Deleted the empty diectory

5 years agoAdded the bin in rat exclusion
Emmanuel Lécharny [Wed, 7 Aug 2013 16:13:27 +0000 (16:13 +0000)] 
Added the bin in rat exclusion

5 years agosome fixes in the pom.xml
Emmanuel Lécharny [Wed, 7 Aug 2013 15:59:19 +0000 (15:59 +0000)] 
some fixes in the pom.xml

5 years agoCleaned up the pom
Emmanuel Lécharny [Wed, 7 Aug 2013 15:32:40 +0000 (15:32 +0000)] 
Cleaned up the pom

5 years agoIgnoring files
Emmanuel Lécharny [Wed, 7 Aug 2013 15:27:48 +0000 (15:27 +0000)] 
Ignoring files

5 years agoAded the tools-maven-plugin dependency
Emmanuel Lécharny [Tue, 6 Aug 2013 17:46:47 +0000 (17:46 +0000)] 
Aded the tools-maven-plugin dependency

5 years agoGenerate a jar instead of a bundle
Emmanuel Lécharny [Tue, 6 Aug 2013 17:33:32 +0000 (17:33 +0000)] 
Generate a jar instead of a bundle

5 years agoRemoved the tar.bz2 format, remove the README
Emmanuel Lécharny [Tue, 6 Aug 2013 17:11:09 +0000 (17:11 +0000)] 
Removed the tar.bz2 format, remove the README

5 years agoExcluding images from apache-rat, as they are binaries
Emmanuel Lécharny [Tue, 6 Aug 2013 17:09:56 +0000 (17:09 +0000)] 
Excluding images from apache-rat, as they are binaries

5 years agoMoved images
Emmanuel Lécharny [Tue, 6 Aug 2013 17:08:30 +0000 (17:08 +0000)] 
Moved images

5 years agoUpdated the poms to get the release happy
Emmanuel Lécharny [Tue, 6 Aug 2013 15:39:36 +0000 (15:39 +0000)] 
Updated the poms to get the release happy

5 years agoFixed a typo
Emmanuel Lécharny [Tue, 6 Aug 2013 14:52:15 +0000 (14:52 +0000)] 
Fixed a typo

5 years agoAdded some missing requied files, fixed the pom.xml file
Emmanuel Lécharny [Tue, 6 Aug 2013 14:49:32 +0000 (14:49 +0000)] 
Added some missing requied files, fixed the pom.xml file

5 years agoAdded the dsitribution module
Emmanuel Lécharny [Tue, 6 Aug 2013 14:48:30 +0000 (14:48 +0000)] 
Added the dsitribution module

5 years agorenamed the package and the artifact id
Kiran Ayyagari [Sun, 4 Aug 2013 09:22:56 +0000 (09:22 +0000)] 
renamed the package and the artifact id

5 years agoAdded some images
Emmanuel Lécharny [Sun, 4 Aug 2013 08:13:02 +0000 (08:13 +0000)] 
Added some images

5 years agomoving to directory project
Kiran Ayyagari [Sun, 4 Aug 2013 07:07:12 +0000 (07:07 +0000)] 
moving to directory project

5 years agoload duplicate trees based on their offset instead of name
Kiran Ayyagari [Fri, 26 Jul 2013 16:26:09 +0000 (16:26 +0000)] 
load duplicate trees based on their offset instead of name

5 years agoo Update the lastOffset of pages
Emmanuel Lécharny [Wed, 24 Jul 2013 11:47:51 +0000 (11:47 +0000)] 
o Update the lastOffset of pages
o Update the BTree header when we do an update in the BTree, otherwise the old rootPage would be pointed by the BTree and by the FreePages list, and be reused by another BTree, leading to inconsistencies.
o We don't anymore update the lastFreePage (it's useless)
o Commented the checkRoot() method, it's not yet completed

5 years agoAdded a test injecting 128 values with duplicates
Emmanuel Lécharny [Sun, 21 Jul 2013 06:44:20 +0000 (06:44 +0000)] 
Added a test injecting 128 values with duplicates

5 years agoo reverted the allowDuplicate flag to int value
Kiran Ayyagari [Sat, 20 Jul 2013 18:13:52 +0000 (18:13 +0000)] 
o reverted the allowDuplicate flag to int value
o fixed the offset comparision (the default value was set to -1 in a previous commit)

5 years agoRmoved the @Ignored
Emmanuel Lécharny [Sat, 20 Jul 2013 05:44:36 +0000 (05:44 +0000)] 
Rmoved the @Ignored