This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git.
from c1991d1 lots more exclusions for read-only mode, and ability to
interrogate them
new 96e7a3a prevent race/error in session lookup
new ae27393 further fix for warning on http session retrieval race
condition
new 0925e5d more logging and error edge cases catches
new 85d9651 tidy task before/after model, ensure scheduled tasks clear
their task context
new 88fc1a5 GC periodic-persistence tasks immediately
new c060b0c skip extra MDC task logging
new cc0ec89 fix typos, and tidy-up MDC logging in case of leaks (not sure
it happens but be safe)
new 78b3129 better task logging of entitlement context
new 37c331e tidy rebind, skip duplicate hot-standby activation
new bcf0fc6 improve logging for tasks
new 783b243 only delete tasks which are done including completion if
cancelled
new a6cdd85 logging about bundles being persisted and loaded
new 2d20fff when rebinding, install persisted bundles before
default.catalog.bom; but start after
new ce9a796 allow access to catalog item path on RO entities
new 49ab36d better logging for HA promotion and for scheduled tasks
new 751b7ff better cleanup on switch from RO/hot
new 109876b stop tasks when ending RO mode also, more cleanly restart on
rebind/promotion
new 8c98f10 fix tests which previously only passed due to scheduled tasks
not being cancelled!
new 6057b9c tweak to cancelling and deleting tasks
new f6c5d85 add option to clear orig mgmt state, and test that it is
doing what is expected
new b760aea fix race where persister might still be reading from hot
standby
new 8477a27 tidy up a few more places where we get warns on unmanaging
new b1a9a3c downgrade pre-pre-managed location warning, as it seems to
occur a lot
new 698b2d3 make sure task GC doesn't kill new entity tasks
new 1d99b34 fix a few more readonly/rebind logs and exclusions
new 750a63a suppress more warnings on planned rebind interruption
new 7df3bba This closes #1257
The 27 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.
Summary of changes:
.../brooklyn/api/mgmt/rebind/RebindManager.java | 3 +
.../rebind/mementos/BrooklynMementoPersister.java | 2 +
.../catalog/internal/CatalogInitialization.java | 101 ++-
.../core/catalog/internal/CatalogUtils.java | 8 +-
.../brooklyn/core/entity/AbstractEntity.java | 34 +-
.../org/apache/brooklyn/core/entity/Entities.java | 9 +-
.../internal/EntityTransientCopyInternal.java | 4 +-
.../core/entity/lifecycle/ServiceStateLogic.java | 11 +-
.../brooklyn/core/feed/AttributePollHandler.java | 27 +-
.../core/mgmt/ha/HighAvailabilityManagerImpl.java | 56 +-
.../mgmt/internal/BrooklynGarbageCollector.java | 49 +-
.../mgmt/internal/EntityManagementSupport.java | 10 +-
.../core/mgmt/internal/LocalLocationManager.java | 7 +-
.../mgmt/internal/LocalSubscriptionManager.java | 13 +-
.../internal/NonDeploymentManagementContext.java | 5 +
.../BrooklynMementoPersisterToObjectStore.java | 75 +-
.../mgmt/rebind/RebindExceptionHandlerImpl.java | 35 +
.../brooklyn/core/mgmt/rebind/RebindIteration.java | 592 +++++++-------
.../core/mgmt/rebind/RebindManagerImpl.java | 88 ++-
.../mgmt/rebind/dto/BasicManagedBundleMemento.java | 7 +
.../brooklyn/core/typereg/BasicManagedBundle.java | 1 +
.../util/core/task/BasicExecutionContext.java | 55 +-
.../util/core/task/BasicExecutionManager.java | 873 +++++++++++++--------
.../apache/brooklyn/util/core/task/BasicTask.java | 3 +-
.../brooklyn/util/core/task/ScheduledTask.java | 7 +
.../mgmt/internal/EntityExecutionManagerTest.java | 23 +-
.../core/mgmt/rebind/ManagementPlaneIdTest.java | 6 +-
.../brooklyn/core/mgmt/rebind/RebindOptions.java | 6 +
.../core/mgmt/rebind/RebindTestFixture.java | 6 +-
.../brooklyn/core/mgmt/rebind/RebindTestUtils.java | 11 +-
.../util/core/task/ScheduledExecutionTest.java | 248 ++++--
.../BrooklynLauncherRebindCatalogOsgiTest.java | 4 +-
.../policy/failover/ElectPrimaryPolicy.java | 2 +-
.../policy/failover/PrimaryRunningEnricher.java | 5 +
.../rest/util/MultiSessionAttributeAdapter.java | 27 +-
.../feed/windows/WinRmCommandSensorTest.java | 21 +-
.../WindowsPerformanceCounterSensorsTest.java | 6 +-
.../brooklyn/util/exceptions/Exceptions.java | 2 +-
.../exceptions/RuntimeInterruptedException.java | 12 +-
39 files changed, 1586 insertions(+), 868 deletions(-)