title | tags | keywords | summary | permalink | |
---|---|---|---|---|---|
Release notes 0.8.0-M3 |
|
release notes, announcements, changelog |
Version 0.8.0-M3 of Eclipse Ditto, released on 14.11.2018 |
release_notes_080-M3.html |
Since the last milestone of Eclipse Ditto 0.8.0-M2, the following changes, new features and bugfixes were added.
With more and more Things, the search service was slowing down massively.
Two Pull Requests (#275, #278) addressed this issue with the following changes:
- add an index on
_policyId
and__policyRev
for thethingEntities
collection. - add the field
_thingId
to new documents inpoliciesBasedSearchIndex
. - add an index on
_thingId
for thepoliciesBasedSearchIndex
collection. - rewrite queries on
policiesBasedSearchIndex
to always look for the indexed_thingId
first.
{% include warning.html content="If you want to upgrade an existing Ditto installation, the following database migration has to be done." %}
Data in policiesBasedSearchIndex
needs to be migrated (we strongly recommend to do that in "offline mode"
with the Ditto cluster stopped) using the
{% include file.html title="MongoDB migration script from 0.8.0-M2 to 0.8.0-M3" file="migration_mongodb_0.8.0-M2_0.8.0-M3.js" %}.
Due to licensing issues with Netty 3, it was removed in this release and replaced with Pekko's Artery remoting which uses by default a plain TCP socket for communication.
That means that a rolling update from a prior version of Ditto will fail - you'll have to completely restart your cluster with all services running the new version.
When adding a connection, an optional enforcement (e.g. for AMQP 1.0) may be configured in order to only accept messages having, for example, a defined header value.
This is also very useful to be used for connecting to Eclipse Hono which sends a header
device_id
in every message which Ditto can check against the ID of the addressed twin.
When creating a new Thing it is now possible to copy the Policy already used in another Thing.
An example of this new feature can be found here.
This milestone contains several bugfixes related to memory leaks, recovery of connections and cluster consistency.
This is a complete list of the merged pull requests.