Aaron Kruglikov
a26f6544c5
Adding commands for the distributed multimap.
...
Change-Id: Ieecfea9aaabefa1f95918d4f95c489a0e94b01a9
2016-04-26 01:06:50 +00:00
Madan Jampani
dc012974e2
ONOS-4396: Fix for EC Map synchronization failing silently due to serialization failures.
...
With this change we proactively fail map updates when serialization failures can occur and immediately notify the caller
Change-Id: I62a8a84731b9c2a6eeff7fa6f8336dc74234bf30
2016-04-25 11:16:28 -07:00
Aaron Kruglikov
56423ba9bf
Changing docstrings in atomixMapCommands.
...
Change-Id: I0b98de095a03a7baedc884f913d42db386dcb163
2016-04-19 13:56:28 -07:00
HIGUCHI Yuta
d9e0105d79
log uncaught Exception
...
- Use execute instead of submit so that uncaught Exception will
be dealt and logged by ExecutorService's handler.
- Use component's own logger
Change-Id: I761264aea00748980929b5048e111756776dd2f6
2016-04-19 17:10:00 +00:00
sangyun-han
cce07c5cad
Add constructor for configuration of CacheSize
...
Change-Id: Ifdac489d87ad1b1ab23e43f05980f9cf0e5b834e
2016-04-19 15:59:15 +00:00
Madan Jampani
a8f919e5b9
Ensure tombsone purge logic works correctly after a cluster scale down
...
Change-Id: I94a4c234982a9e8f44af5078b3cbcee13e4b93cb
2016-04-19 15:33:38 +00:00
Madan Jampani
29f52a3e30
ONOS-2322: Support for periodic purging of ECMap tombstones
...
Change-Id: I6fe5475a472c383c4a51bd61446fba8f1dba1d37
2016-04-18 23:35:37 +00:00
Madan Jampani
e9c9a71cd3
Ensure serialization exceptions are appropriately reported
...
Change-Id: Ib7a11f246a79e84e7d1a9e4bddc85d08e0f0cbf0
2016-04-18 18:48:32 +00:00
HIGUCHI Yuta
caad26b86f
Fix for ONOS-4315
...
- Additional log on error
- Allow count=0 using CountDownCompleter
- test case to detect the issue (@Ignored by default right now)
- other bug fixes found along the way
Based on patch by Madan@China
Change-Id: I7d6cb8c214052859900ef7ee0337a7e1c8a9d295
2016-04-16 16:06:11 -07:00
HIGUCHI Yuta
16e9d28261
Attemp to improve hasPendingUpdates()
...
- Create update list using Stream, so that
hasPendingUpdates() can short cut on first update found.
- Might improve performance when there is large number of updates in a Tx.
Change-Id: I20820b7212c642315a620d715b5c750e35d31dd0
2016-04-13 18:46:29 +00:00
Brian O'Connor
5ab426f9ff
Updating copyrights
...
New format: 'Copyright .year-present Open Networking Laboratory'
Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Brian O'Connor
b86c920526
Updating Buck files to build OSGi jars
...
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo
Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Brian O'Connor
96f689b317
Renaming onlab-thirdparty to atomix
...
Change-Id: I258b80c9bd6481664585812bca738651fd348363
2016-04-06 17:39:54 +00:00
Madan Jampani
68b1f5a117
Fixes NPE in AtomixLeaderElector
...
Change-Id: I0db39b4e09af10f92fe06ba8c7372994e776a6e2
2016-04-06 16:46:55 +00:00
Madan Jampani
542d9e2285
Performance improvements
...
- Fast path of transactions updating a single key.
- Bug fix in StoragePartitionClient where we were always creating a CachingMap
Change-Id: Ide117fba34fd12a9ff4aabd5fb7a21952bae672b
2016-04-05 15:41:11 -07:00
Madan Jampani
832686da5f
Post DatabaseManager deprecation code cleanup
...
- Dropping MutexExecutionService as there are now better alternatives
- Dropping New from class names that were added during transition phase
Change-Id: If0cdd3321081c3f8fda81441ef2c84549b616edd
2016-04-05 20:36:11 +00:00
Madan Jampani
38f01690db
Dropping DatabaseManager and related code. Goodbye!
...
Change-Id: I5d90d62678402234462dad8be455903de481da21
2016-04-05 17:10:59 +00:00
Madan Jampani
3780d4b021
ONOS-4218: Fixes for resource store transaction failures
...
Change-Id: Ie48bb04d7daf6ed7b63c33a3c3c2703496179aa6
2016-04-05 03:05:25 +00:00
Brian O'Connor
344ea7a714
Removing commons-io and concurrent-trees from onlab-thirdparty
...
Change-Id: Id65a4e05292d9ca2e7a743c48b96c09767602e1d
2016-04-05 00:28:17 +00:00
Madan Jampani
5ddaf19fbe
Ensure exceptions in map event handling do not prevent event acknowledgement
...
Set default consistency for ConsistentMap operations to SEQUENTIAL
Change-Id: I8896ae953932bf323c4512842000e78bf395f9b1
2016-04-04 16:38:26 +00:00
Madan Jampani
b98d97ed61
Enabling StorageManager
...
Change-Id: Ice415dc217d8cf6fc990776ed4d71c1bafe55ccb
2016-04-01 11:08:25 -07:00
Madan Jampani
966a585e7e
Chnage AtomixLeaderElector resource id to avoid collisions
...
Change-Id: I2d7ecdbe589ebd8640958d5a188feafd9097617b
2016-04-01 10:39:57 -07:00
Ray Milkey
f80bbb22c2
Initial BUCK build
...
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
Madan Jampani
6f74371b5e
Misc bug fixes in preparation for enabling StorageManager
...
Change-Id: I953414891c901e5d1f92844ca8c4eaa8c042dd53
2016-03-28 18:13:25 +00:00
sangyun-han
888d4c5582
[ONOS-4214]Implement NewDefaultDistributedQueueBuilder
...
- Revise incomplete method(queueBuilder) in StorageManager
Change-Id: I16cc1eb02fa01a4762fecc3c3c0472555fb45d04
2016-03-28 16:48:45 +09:00
Thomas Vachuska
7a8de847ad
Added ability to track whether or not node has all components running fully.
...
Change-Id: Ib2b90c7a842976a3b3a9711367fa1eed43103b17
2016-03-23 19:10:15 +00:00
Madan Jampani
65f24bb7f3
Moving to Atomix version 1.0.0-rc3
...
Change-Id: I75572a52b530741f482455d59922327121a03999
2016-03-22 22:38:10 +00:00
Madan Jampani
0da01a47f8
Do not wrap exception with TransportException
...
Change-Id: Ifd59da2a78a7c95a78758cbcf7a5fe015ed25f13
2016-03-22 22:37:58 +00:00
Brian O'Connor
955c316b54
Starting snapshot 1.6.0-SNAPSHOT
2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176
Tagging 1.5.0 (Falcon)
2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8
Starting snapshot 1.5.0-SNAPSHOT
2016-03-09 14:02:04 -08:00
Madan Jampani
b7a5420285
Tagging 1.5.0-rc3
2016-03-09 13:47:32 -08:00
Madan Jampani
07b54481a2
Disable Atomix unit tests until some stability issues are resolved
...
Change-Id: If6bd5756bacc2c8d6ff01eecd173db7e5e4b966c
2016-03-09 19:14:06 +00:00
Heedo Kang
4a47a304c4
More APIs permission for new ONOS APIs
...
Change-Id: I43fee65254adca451f77431bfbf5accdf95b81ab
2016-03-09 00:54:41 +00:00
Simon Hunt
5829c346b8
Fixed defect in CachingAsyncConsistentMap (wrong method call).
...
Change-Id: I5873d1476ac68e6c2ee4462e629b00313214ef36
2016-03-07 17:01:43 -08:00
Madan Jampani
9c159378d7
Fixes how primitives and map keys are mapped to partitions
...
Change-Id: I68c9acabb400108def6eda394e2d5c8444ea5800
2016-03-04 17:08:02 -08:00
Madan Jampani
f172d40250
Cluster scaling enchancements
...
- Updated ConfigFileBasedClusterMetadataProvider to handle both file and http protocols.
- Server open logic updated to handle joining an existing cluster.
Change-Id: Idbaa39733c7bf814510c94c4b21e3714b3f97f8f
2016-03-05 01:06:30 +00:00
alshabib
6cb8636739
fix removal of rules in a distributed setting
...
Change-Id: I44cb49990b8051f5f1542c11cbda6846049906e3
2016-03-04 21:34:13 +00:00
Thomas Vachuska
5d8994ffce
Starting snapshot 1.5.0-SNAPSHOT
2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9
Tagging 1.5.0-rc2
2016-03-03 17:08:36 -08:00
Madan Jampani
e60388716f
Handle duplicate listen requests submitted to the state machine
...
Change-Id: I9f17be5a751f7f2b17f8e89232dc0403ca260137
2016-03-03 20:28:54 +00:00
Madan Jampani
27a2a3d318
Code clean up in ConsistentMap and LeaderElector resources
...
Change-Id: I1834188393f19e37394c32047538e6027522a13d
2016-03-03 17:05:43 +00:00
Madan Jampani
40f022ee59
Default ConsistentMap consistency level to SEQUENTIAL and reenable all Atomix unit tests
...
Change-Id: Ic04ff81fbaaa7c007f20077391a72fdfa9fd382a
2016-03-03 06:46:08 +00:00
HIGUCHI Yuta
06cf658408
Explicity add generic type to help type inference on ECJ.
...
Change-Id: I9e1537fad13690c2f7f10af52922fdcb85f71125
2016-03-02 08:16:50 +00:00
Madan Jampani
3354745389
PartitionManager support for reacting to cluster metadata changes
...
Change-Id: I65e358f5cb47e9420fae9589661ba0ce45f58df6
2016-03-01 21:17:33 +00:00
Madan Jampani
931e97dbc5
Remove base (p0) partition in StorageManager
...
Change-Id: Idae636173a9638da19f391e203bec0bccb399328
2016-02-29 19:12:58 +00:00
Madan Jampani
630c88281d
Update StorageManager.getPartitionInfo() to delegate to PartitionAdminService.partitionInfo()
...
Change-Id: I20aa9f986874e6ac7c602b8ae58b7c7b0df9a835
2016-02-25 03:27:54 +00:00
Madan Jampani
c94b485f05
Fix StoragePartition to return a furture for opening partition client + Fixes in AtomixLeaderElector
...
Change-Id: I6adf91e84cc17aec8acc895884dc8fbe75037978
2016-02-24 02:34:28 +00:00
Madan Jampani
db2afd3fab
Publish a list of changes when leadership changes occur
...
Change-Id: I99a4e239ac5aa9999b3a735cdf004941a5957a93
2016-02-23 16:26:45 -08:00
Madan Jampani
0c0cdc6de7
AsyncLeaderElector APIs in support for mastership balancing
...
Change-Id: Ia235c6a18c54490dc49ca13e2caebf70b750dbc7
2016-02-24 00:15:14 +00:00