GitHub user glukos opened a pull request:
https://github.com/apache/ignite/pull/1674
IGNITE-4534: Implement offheap eviction policies based on page memory
Per-page eviction policies are implemented, algorithm (random-LRU or
random-K-LRU) can be configured in MemoryPolicyConfiguration.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-4534
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1674.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1674
commit 60ea031ebf19a7b6b8a205d762ae3b96ef2ed1ba
Author: Ivan Rakov
Date: 2017-02-28T10:56:40Z
IGNITE-4534: First approach to evict by page index
commit c5d45a4fa575a444537db7a933a8f489574ccf83
Author: Ivan Rakov
Date: 2017-02-28T11:35:36Z
IGNITE-4534: First approach to evict by page index
commit 27d024048bf6689e59548bfdf67461665b9ee06b
Author: Ivan Rakov
Date: 2017-03-02T17:34:19Z
IGNITE-4534: Random-LRU implemented
commit 0b7c770e4e12826e45a7716ec408129f68cf6ebb
Author: Ivan Rakov
Date: 2017-03-03T12:04:00Z
IGNITE-4534: Bugs fixed. Works fine for small objects, found bug with big
objects (size > pageSize)
commit a8d74454f6e0c67632c5a2f2a10a41e8e2fcbe12
Author: Ivan Rakov
Date: 2017-03-03T13:02:13Z
IGNITE-4534: Smoke test added
commit f5ff54a9945477768bf74161c8c51d4ce83d4b62
Author: Sergey Chugunov
Date: 2017-03-02T16:24:20Z
IGNITE-4758 multiple MemoryPolicies were implemented
commit 5479f947f672e28fc39f92e8a489c016f96d10f0
Author: Sergey Chugunov
Date: 2017-03-09T10:17:45Z
Merge branch 'ignite-3477' into ignite-4758
commit db1087e28f438c494d96afea92de2b454f369c46
Author: Sergey Chugunov
Date: 2017-03-09T12:13:17Z
IGNITE-4758 added back 'freeList' parameter on RowStore constructor
commit 4cd7cfab87f385fd6633f866d7f63625c010b649
Author: Ivan Rakov
Date: 2017-03-13T12:17:24Z
IGNITE-4534: Fixed bug with reading fragmented data row
commit 26458a89bef395325232172dfcc20403c8d00eaa
Author: Ivan Rakov
Date: 2017-03-13T12:39:23Z
Merge branch 'ignite-4758' into ignite-4534
# Conflicts:
#
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/CacheDataRowAdapter.java
#
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/IgniteCacheDatabaseSharedManager.java
commit a0ae590e0411a1d029dfc515edf66fe45eb7635b
Author: Ivan Rakov
Date: 2017-03-13T15:00:22Z
IGNITE-4578: Refactoring - configuration is now available from policy;
memory policy map is introduced.
commit df92f49048905a0245cf1daa0499cf96dd3c7238
Author: Ivan Rakov
Date: 2017-03-13T15:01:13Z
Merge branch 'ignite-4758' into ignite-4534
commit 9a5a4f17940ee902b27cd06998fb235553e4dea9
Author: Ivan Rakov
Date: 2017-03-13T16:54:14Z
IGNITE-4534: Integrated memory policy changes
commit 9eaa00ef1a0d0124a23b59ef1245fa4e6df25478
Author: Sergey Chugunov
Date: 2017-03-13T16:20:12Z
IGNITE-4758 Indexing SPI tests fix, CPP tests configs refactoring,
documentation improvements
commit 89ce9b672223110b7f3b2ab36117772e9ddae06b
Author: Sergey Chugunov
Date: 2017-03-15T08:40:41Z
IGNITE-4758 some tests were added, code was improved to avoid NPE on client
nodes, documentation was detailed
commit bf491b3a2fe94d05ff77d812809c02ce908036cf
Author: Sergey Chugunov
Date: 2017-03-16T11:16:51Z
IGNITE-4758 NPE on metrics gathering on client node was fixed
commit a4cbde0cfe25e9e40ba06882dc97b5d815cb4cf6
Author: Sergey Chugunov
Date: 2017-03-20T14:27:53Z
IGNITE-4758 bug with initializing default memory pool was fixed
commit 1faea11b1e3f360b592cecd88149d86d8ba30e3a
Author: Ivan Rakov
Date: 2017-03-20T17:14:53Z
Merge branch 'ignite-4758' into ignite-4534
# Conflicts:
#
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/IgniteCacheDatabaseSharedManager.java
commit df37f1f04d73a70ffd80c4bc6022a395ca7846ce
Author: Ivan Rakov
Date: 2017-03-20T17:16:52Z
Fixing after merging ignite-4758
commit a418d39aac710c4fa4a4e4801d67ef467a5a9ded
Author: Ivan Rakov
Date: 2017-03-22T15:04:03Z
IGNITE-4534: Offheap eviction concept implemented, ready for tests
commit 77dd1e32db7be500f3db3f9993747759c05a89fa
Author: Ivan Rakov