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.18
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-commons.git.
at 2e65048 (tag)
tagging b0387f58804882faa6ef5247a4b3366c566ca3d2 (commit)
by Stefan Egli
on Tue Nov 15 12:44:54 2016 +0000
- Log -----------------------------------------------------------------
org.apache.sling.discovery.commons-1.0.18
-----------------------------------------------------------------------
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 6e713d1 [maven-release-plugin] prepare for next development iteration
new c57bb81 SLING-5494 : Discovery InstancesDiff.retained()
implementation not according to API doc - Match the API with the implementation
- This closes #122 of github pull request of tmaret, many thx
new 1e2a10d SLING-5592 : cancel backgroundCheck thread in deactivate for
rare cases where it is still running
new e3d6546 SLING-5620 : upgrade sling.commons.scheduler dependency to
2.4.0
new 202f5b9 SLING-5621 : adding InitDelayingTopologyEventListener that
came up as part of SLING-5560 to discovery.commons
new 5fdb4c5 [maven-release-plugin] prepare release
org.apache.sling.discovery.commons-1.0.12
new a73e87d [maven-release-plugin] prepare for next development iteration
new a3da984 SLING-5598 : exclude slow running test by newly introduced
Slow junit category - to run them nevertheless use -PincludeSlowTests
new da23f5b use org.apache.sling.commons.testing 2.0.26
new 188fecc use stable releases (Jackrabbit and Oak)
new 37e5450 SLING-5995 : changing IdMapService from being an OSGi
EventListener to a Sling ResourceChangeListener
new 31f4a00 [maven-release-plugin] prepare release
org.apache.sling.discovery.commons-1.0.14
new 94f722a [maven-release-plugin] prepare for next development iteration
new 611306b fix build error: switch sling API to 2.11 because 2.10 was
never released
new 21a7966 [maven-release-plugin] prepare release
org.apache.sling.discovery.commons-1.0.16
new 5e52b0c [maven-release-plugin] prepare for next development iteration
new cc9361e SLING-5231 : remove getAdministrativeResourceResolver from
discovery components : merged patches from Carsten
new 32ef365 [maven-release-plugin] prepare release
org.apache.sling.discovery.commons-1.0.18
new b0387f5 [maven-release-plugin] copy for tag
org.apache.sling.discovery.commons-1.0.18
The 79 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]>'].