This is an automated email from the ASF dual-hosted git repository.
rombert pushed a change to annotated tag
org.apache.sling.discovery.commons-1.0.10
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-commons.git.
at 804b464 (tag)
tagging c09a74961a78264be9d90b35127df6d8bdd1c190 (commit)
by Stefan Egli
on Thu Jan 28 12:53:08 2016 +0000
- Log -----------------------------------------------------------------
org.apache.sling.discovery.commons-1.0.10
-----------------------------------------------------------------------
This annotated tag includes the following new commits:
new b8fe30c SLING-4665 : adding patch provided by Timothee Maret, many
thanks
new 7eadb24 svn:ignore updated
new 5943189 SLING-4685 : adding initial version of ViewStateManager - a
shared implementation of TopologyEventListener-handling and sending of events
based on activate/deactivate/changing/newView triggers - intended for use by
implementors of the discovery.api (not clients of it)
new f438f9e SLING-4698 - Set parent.relativePath to empty for all modules
new 576bc0d Update svn:ignore
new f93b193 Update to Sling Parent 23
new 0035b7d set parent version to 24 and add empty relativePath where
missing
new e599fa8 Update the main reactor to parent 25
new 9a31ba9 SLING-5131 : introducing ConsistencyService and an
oak-discovery-lite based implementation of it - plus SLING-4697 : support for
PROPERTIES_CHANGED added to ViewStateManagerImpl
new b33eee0 SLING-5131 : re-adding ViewStateManager which for some reason
got removed by svn in 1707548
new bb3d20d SLING-4697 : support for PROPERTIES_CHANGED in
ViewStateManagerImpl tested and thus fixed
new 0e44e3d SLING-5173 : introducing discovery.base which is the sharable
parts of discovery.impl for discovery.oak - eg it includes topology connectors
and base classes - plus it also includes many it-kind tests of discovery.impl
new 3d923b4 SLING-5173 : rename commons impl packages to base as they are
meant for reuse by discovery.impl and discovery.oak - plus avoid using abstract
component class with scr annotations - use abstract getters instead - plus some
more fine-tuning of log messages - plus make discovery.impl's Config also
implement DiscoveryLiteConfig - plus properly handle binds happening before
activate in DiscoveryServiceImpl
new 6dd90e1 SLING-5173 : adding refactored
SyncTokenOnlyConsistencyService again
new dd9150c SLING-4603 related : some fixes in class structure /
syncToken handling
new cf6bb53 SLING-5173 related : EventFactory renamed to EventHelper -
and introduced toShortString() for a few base view classes to shorten and make
the log output more readable
new dcfc44f SLING-5173 and SLING-4603 related : more syncToken log.info -
plus always doing the syncToken thingy, independent of whether any instance
left or joined the cluster as otherwise this thing wont work
new 81a52c9 SLING-5173 : log.info fix
new 8b4c590 SLING-5094 / SLING-4603 related : cancel ongoing sync
explicitly in order to avoid dangerous CHANGED event when changes happen during
sync
new f957528 SLING-5173 : reducing visibility of isDelaying
new 732f4d6 SLING-5173 : reduce log in cancel when already done
new e88458a SLING-4603 : more aggressively clearing the idMap-cache to
avoid stale entries on slingId change - plus added getSyncHistory to
BaseSyncTokenConsistencyService to allow adding it to the webconsole for debug
- plus some cleanup in webconsole wrt discoveryLite info
new 36ac966 SLING-5173 : introducing a more explicit chain concept for
ConsistencyServices than the previous hidden/implicit one:
ConsistencyServiceChain
new 1a36029 SLING-5173 : added simple implementation for findInstances
new 8d22485 SLING-5173 : added getInstance(slingId) to simplify things
new 6dd354e SLING-5173 : introducing a more explicit chain concept for
ConsistencyServices than the previous hidden/implicit one:
ConsistencyServiceChain
new df6d865 SLING-5173 : bugfix for leader changes: leader change was
treated as a properties change - which was very bad - now it is properly
treated as a TOPOLOGY_CHANGED. Note that leader change should not happen in an
otherwise unchanged topology - but it can if one instance's discovery.oak
bundle for example is restarted, thus getting a lower leaderElectionId. Thus
discovery.commons must account for this
new 3edba1a SLING-5173 : re-added complete consistency-history after
introducing splitting them and using the ConsistencyServiceChain. Probably
should be refactored into something slightly nicer though
new 05027b8 SLING-5173 : minor code cleanup (duplicate logger removed)
new 2e5938f SLING-4603 : even more aggressively clearing the idMap-cache
to avoid stale entries : now registering an EventHandler that listens on
/var/discovery/../idMap and clears the cache on any change therein
new 11a225d SLING-4603 : minor fix to previous commit : turns out the
path must be /var/xy/idMap not /var/xy/idMap/* as that would apply to children
only
new 5a5f5ee SLING-5094 / SLING-5173 / SLING-4603 related : ensure that
before invoking the ConsistencyService.sync no async events are still in the
queue. This is achieved by enqueueing an async event too that once it gets
triggered ensures that no async events are left. This mechanism ensures that
before the syncToken is written, all TopologyEventListeners have received a
TOPOLOGY_CHANGING - and only that guarantees that the syncToken mechanism
carries a high guarantee.
new 26e1a7b SLING-5094 / SLING-5173 / SLING-4603 related : ensure that
before invoking the ConsistencyService.sync no async events are still in the
queue. This is achieved by enqueueing an async event too that once it gets
triggered ensures that no async events are left. This mechanism ensures that
before the syncToken is written, all TopologyEventListeners have received a
TOPOLOGY_CHANGING - and only that guarantees that the syncToken mechanism
carries a high guarantee.
new fc2a805 SLING-5191 / SLING-4603 : rename ConsistencyService to
ClusterSyncService - plus making timeout/interval values for the same
configurable in discovery.oak
new 032f500 SLING-5094 related : more test stability by adding a wait
time of 2sec
new e5ded77 SLING-5094 / SLING-5191 / SLING-4603 : rename
ConsistencyService to ClusterSyncService
new fdd2176 [maven-release-plugin] prepare release
org.apache.sling.discovery.commons-1.0.0
new 1df7dc1 [maven-release-plugin] prepare for next development iteration
new 283f6b9 SLING-5214: include millis in testing log formats
new 5c5f5e8 SLING-5225 : increase wait times to avoid test failure on
jenkins due to lower hardware speed
new 9dcf468 [maven-release-plugin] prepare release
org.apache.sling.discovery.commons-1.0.2
new a5144bc [maven-release-plugin] prepare for next development iteration
new d71490a SLING-5256 : change in localClusterSyncTokenId should always
trigger a TOPOLOGY_CHANGED - ensured by adjusting
ViewStateManager.onlyDiffersInProperties and
DefaultTopologyView.compareTopology accordingly including new tests for both -
plus added OakDiscoveryServiceTest.testDescriptorSeqNumChange to verify that
discovery.oak now properly detects otherwise-equal topologies when their
sequence_number==localClusterSyncTokenId differs (unlikely to happen under
normal load sit [...]
new 0f3c5c8 no-jira : fixed a log.trace message
new 3529e4f SLING-5267 : fixed testTwoNodesOneLeaving by making wait
times safer, asserting for background-runnable done-state, plus added more
logging in case this one is still not perfectly stable on jenkins
new 8f8aedf SLING-5282 : calling consistencyService.cancelSync(); in
handleDeactivated
new 7571e2f [maven-release-plugin] prepare release
org.apache.sling.discovery.commons-1.0.4
new 1cc2db6 [maven-release-plugin] prepare for next development iteration
new dbdcc68 SLING-5310: adding cancelDelaying to MinEventDelayHandler -
plus added a testReactivate test method which checks the scenario described in
this ticket. Plus also added somewhat more logging to the HeartbeatHandler to
help debugging should something similar reoccur
new ca87b3d SLING-5310 : replaced waitForAsyncEvents(4sec) with
Thread.sleep(4sec) then another waitForAsyncEvents(2sec) to avoid making the
assertion just when the event would yet be triggered
new be1c2b7 [maven-release-plugin] prepare release
org.apache.sling.discovery.commons-1.0.6
new 51fd2d4 [maven-release-plugin] prepare for next development iteration
new 4830188 Remove type from bundle dependencies
new ea02b02 Switch to parent pom 26
new 8cb4867 SLING-5458 : id can now be null - return null in getViewId in
that case
new c664312 SLING-5458 : when clusterView.getId differs, that must result
in a TOPOLOGY_CHANGING/CHANGED sequence - unlike before this fix where it just
resulted in a PROPERTIES_CHANGED - which is wrong
new c29e93e [maven-release-plugin] prepare release
org.apache.sling.discovery.commons-1.0.8
new ccce69b [maven-release-plugin] prepare for next development iteration
new 8468d76 SLING-5464 : fixed regression introduced in
onlyDiffersInProperties - and added a proper JUnit test which would have
avoided the problem in the first place
new 6d303d2 [maven-release-plugin] prepare release
org.apache.sling.discovery.commons-1.0.10
new c09a749 [maven-release-plugin] copy for tag
org.apache.sling.discovery.commons-1.0.10
The 61 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].