directory-mavibot.git
4 years ago[maven-release-plugin] copy for tag 1.0.0-M2 1.0.0-M2
Emmanuel Lécharny [Tue, 29 Oct 2013 08:43:11 +0000 (08:43 +0000)] 
[maven-release-plugin]  copy for tag 1.0.0-M2

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

5 years agoFixed a bad increment in the position while reading the first btree
Emmanuel Lécharny [Sat, 20 Jul 2013 05:38:02 +0000 (05:38 +0000)] 
Fixed a bad increment in the position while reading the first btree

5 years agoMinor formatting
Emmanuel Lécharny [Fri, 19 Jul 2013 16:22:44 +0000 (16:22 +0000)] 
Minor formatting

5 years agoMade the dupsAllowed value been stored in a byte instead of an integer.
Emmanuel Lécharny [Fri, 19 Jul 2013 16:22:21 +0000 (16:22 +0000)] 
Made the dupsAllowed value been stored in a byte instead of an integer.

5 years agoAdded a test that demonstrate a pb in a managed btree with duplicate values
Emmanuel Lécharny [Fri, 19 Jul 2013 14:39:54 +0000 (14:39 +0000)] 
Added a test that demonstrate a pb in a managed btree with duplicate values

5 years agoo Store the RecordManager header in a full PageIO
Emmanuel Lécharny [Fri, 19 Jul 2013 08:41:14 +0000 (08:41 +0000)] 
o Store the RecordManager header in a full PageIO
o Added the checkRoot preliminary implementation

5 years agoSome more checks for the RM
Emmanuel Lécharny [Thu, 18 Jul 2013 20:08:54 +0000 (20:08 +0000)] 
Some more checks for the RM

5 years agoAdded the part that checks free pages
Emmanuel Lécharny [Thu, 18 Jul 2013 14:38:27 +0000 (14:38 +0000)] 
Added the part that checks free pages

5 years agoo Added a dedicated logger in RM to logs the RM checks
Emmanuel Lécharny [Thu, 18 Jul 2013 00:34:01 +0000 (00:34 +0000)] 
o Added a dedicated logger in RM to logs the RM checks
o Added logs
o Added a check() method which control the file after each update
o Called the check() method after each update
o Fixed the readPageIOs() method so that we don't read extra pages when the last offset is -1
o Changed the way we are managing free pages : there are now added before the first free page, instead of adding them at the end of the list of free pages. This makes the lastFreePage pretty useless now... (still to be removed)

5 years agoo Initialized the offset and lastOffset to -1 for new Page
Emmanuel Lécharny [Thu, 18 Jul 2013 00:29:55 +0000 (00:29 +0000)] 
o Initialized the offset and lastOffset to -1 for new Page
o Added a logger for BTree

5 years agoRemoved a useless cast
Emmanuel Lécharny [Thu, 18 Jul 2013 00:27:51 +0000 (00:27 +0000)] 
Removed a useless cast

5 years agoset the offsets while reading the page
Kiran Ayyagari [Sat, 13 Jul 2013 04:56:11 +0000 (04:56 +0000)] 
set the offsets while reading the page

5 years agorenamed the readPage*s*() method to readPageIOs()
Kiran Ayyagari [Fri, 12 Jul 2013 13:19:13 +0000 (13:19 +0000)] 
renamed the readPage*s*() method to readPageIOs()

5 years agofixed a typo
Kiran Ayyagari [Fri, 12 Jul 2013 07:38:33 +0000 (07:38 +0000)] 
fixed a typo

5 years agoFixed a bug in the delete() method : the page was not copied if we haven't removed...
Emmanuel Lécharny [Thu, 11 Jul 2013 19:01:03 +0000 (19:01 +0000)] 
Fixed a bug in the delete() method : the page was not copied if we haven't removed any key in it

5 years agoo set the BTree offset after loading the duplicate btree
Kiran Ayyagari [Sun, 7 Jul 2013 04:50:31 +0000 (04:50 +0000)] 
o set the BTree offset after loading the duplicate btree
o reset the page data before reuse

5 years agoo fixed an issue with direction change in moveToNextNonDuplicateKey() when the cursor...
Kiran Ayyagari [Thu, 4 Jul 2013 11:13:09 +0000 (11:13 +0000)] 
o fixed an issue with direction change in moveToNextNonDuplicateKey() when the cursor is on the last key
o added tests

5 years agoo added a checks to avoid ClassCastException while deriving the key type
Kiran Ayyagari [Wed, 3 Jul 2013 11:41:22 +0000 (11:41 +0000)] 
o added a checks to avoid ClassCastException while deriving the key type
o set the comparator also while setting the serializer

5 years agoallow custom comparator
Kiran Ayyagari [Wed, 3 Jul 2013 11:38:53 +0000 (11:38 +0000)] 
allow custom comparator

5 years agofixed the test case
Kiran Ayyagari [Wed, 3 Jul 2013 07:30:55 +0000 (07:30 +0000)] 
fixed the test case

5 years agoo do not attach internal BTree offsets to the main data BTrees
Kiran Ayyagari [Wed, 3 Jul 2013 07:30:13 +0000 (07:30 +0000)] 
o do not attach internal BTree offsets to the main data BTrees
o skip freepages with offset 0, they are always in-memory and not valid for storing

5 years agoo Added the lastOffset pointer in the Page
Emmanuel Lécharny [Fri, 14 Jun 2013 21:12:08 +0000 (21:12 +0000)] 
o Added the lastOffset pointer in the Page
o Store the lastOffset in page referenceHolder
o Added some javadoc
o Improved the way we pdate the free page, leading to a gain of 25% n speed
o Improved the output of some tests to provide more realistic numbers

5 years agofixed the wrong tree variable passed for loading
Kiran Ayyagari [Tue, 11 Jun 2013 04:39:43 +0000 (04:39 +0000)] 
fixed the wrong tree variable passed for loading

5 years agoo Speed up the update by using a global buffer isntead of allocating a new one every...
Emmanuel Lécharny [Mon, 10 Jun 2013 15:51:52 +0000 (15:51 +0000)] 
o Speed up the update by using a global buffer isntead of allocating a new one every time we need to update the header
o Removed useless fields

5 years agoo Update the rootPage offset
Emmanuel Lécharny [Mon, 10 Jun 2013 15:20:29 +0000 (15:20 +0000)] 
o Update the rootPage offset
o Adding a load of logs
o Flushed all the PageIO in one call when updating the BTree header
o Fixed the reload : we were creating a new page when we tried to update the last page, because of the wrong test : if ( fileChannel.size() <= ( pageIo.getOffset() + pageSize ) ) instead of if ( fileChannel.size() < ( pageIo.getOffset() + pageSize ) ) in the flushPages() method
o Removed useless methods

5 years agoo The first root page is now used
Emmanuel Lécharny [Mon, 10 Jun 2013 15:15:25 +0000 (15:15 +0000)] 
o The first root page is now used
o Improved a toString()

5 years agoo Removed an @Ignore for a test
Emmanuel Lécharny [Mon, 10 Jun 2013 15:14:11 +0000 (15:14 +0000)] 
o Removed an @Ignore for a test
o Added some sysout

5 years agoset the page size to default value
Kiran Ayyagari [Sat, 8 Jun 2013 18:43:23 +0000 (18:43 +0000)] 
set the page size to default value

5 years agoremoved the offset btree
Kiran Ayyagari [Sat, 8 Jun 2013 18:42:35 +0000 (18:42 +0000)] 
removed the offset btree

5 years agoFormatting the code
Emmanuel Lécharny [Sat, 8 Jun 2013 17:03:49 +0000 (17:03 +0000)] 
Formatting the code

5 years agoFormatting the code
Emmanuel Lécharny [Sat, 8 Jun 2013 17:02:54 +0000 (17:02 +0000)] 
Formatting the code

5 years agoadded a FIXME note
Kiran Ayyagari [Fri, 7 Jun 2013 19:42:46 +0000 (19:42 +0000)] 
added a FIXME note

5 years agoupdate offset BTree when root page changes
Kiran Ayyagari [Fri, 7 Jun 2013 18:40:13 +0000 (18:40 +0000)] 
update offset BTree when root page changes

5 years agoo fixed the size of children's array
Kiran Ayyagari [Fri, 7 Jun 2013 12:13:46 +0000 (12:13 +0000)] 
o fixed the size of children's array
o fixed the getRightmostKey() method