Skip to content

Releases: eXist-db/messaging-replication

Fall release

01 Oct 18:02
Compare
Choose a tag to compare
Fall release Pre-release
Pre-release

Highlights:

  • upgrade to ActiveMQ 5.14.0
  • added function to start/stop globally the ReplicationTrigger
  • improved logging in ReplicationTrigger : all operations are now logged in INFO level
  • enabled connection pooling by default (commons-pool2 dependency)
xquery version "3.1";

import module namespace replication="http://exist-db.org/xquery/replication" 
              at "java:org.exist.jms.xquery.ReplicationModule"; 


replication:enableReplication(true())

(exact function name under discussion-has been changed in 0.9.12)

Detailed changes: v0.9.10...v0.9.11

Repair of sync() function

16 Jun 09:33
Compare
Choose a tag to compare
Pre-release

Minor update: the new sync() function now correctly reads the collection configuration

Detailed changes: v0.9.9...v0.9.10

Featured: Synchronize metadata

09 May 20:33
Compare
Choose a tag to compare
Pre-release

This pre-release is an important step for the extension. Some highlights:

  • document metadata is now finally replicated in the correct way
  • created time/lastmodified time is now included too
  • added replication:sync() and replication:sync-metadata() functions
  • document ownership now based on... the name of the owner, in stead of the group name.
  • upgrade version of activemq to 5.13.3
xquery version "3.1";

import module namespace replication="http://exist-db.org/xquery/replication" 
              at "java:org.exist.jms.xquery.ReplicationModule"; 

(: collection.xconf in /db/system/conf/db/replicated/ collection :)
replication:sync('/db/replicated/document.xml'),
replication:sync('/db/replicated/collection/'),
replication:sync-metadata('/db/replicated/document.xml'),
replication:sync-metadata('/db/replicated/collection/')

Known issue (or not):
Currently investigating #77

Detailed changes: v0.9.8...v0.9.9

Important replication fix

26 Apr 14:35
Compare
Choose a tag to compare
Pre-release

Replication messages were not explicitly acknowledged by the code, cause messages not te be removed from the broker.

This issue has been overlooked for a long time; very important though!

Logging has been improved as wel: each replication event is now logged, with limited info in INFO mode, a lot more on DEBUG

Detailed changes: v0.9.7...v0.9.8

Stability improvements

25 Apr 22:00
Compare
Choose a tag to compare
Pre-release

Some issues were found:

  • an unknown mime type would stop replication of a document
  • log levels and log texts were misleading

publisher 1
2016-04-25 18:38:30,373 [eXistThread-461450] ERROR (Sender.java [createMessageFromExistMessageItem]:395) - No payload for replication

is not an error, just a message

publisher 2
"Collection %s already exists" should not be logged as an error

receiver
2016-04-25 18:17:05,469 [ActiveMQ Session Task-1] INFO  (ReplicationTrigger.java [afterDeleteDocument]:228) - Blocked replication trigger for /db/apps/blabla1.xml: was received by replication extension.l

should not reported as an error, could be a WARN; restyled text to "Prevented re-replication of '%s'"

Detailed changes: v0.9.6...v0.9.7

Bump to AMQ 5.13.2

20 Mar 13:44
Compare
Choose a tag to compare
Bump to AMQ 5.13.2 Pre-release
Pre-release
  • Applied static code checks
  • Use Java8 lambdas where possible (and there it makes sense)
  • Better resource management (ARM)
  • Documentation has been improved too, all example URLs point to localhost now

eXist-db 3.0 RC2 compatibility

12 Jan 20:43
Compare
Choose a tag to compare
Pre-release

This version is compatible with eXistdb 3.0 RC2 ("3.0.2").
Update to ActiveMQ 5.13.0

Bugfixes and improvements

11 Oct 15:01
Compare
Choose a tag to compare
Pre-release

This release contains quite some fixes and improvements

  • made compatible with recent exist3 changes
  • update to activemq 5.12.0
  • setting username/password on broker connection works again
  • java8 optimization
  • fix: prevent re-replication
  • use copycontext for xquery to prevent xquery context issues

❗ v0.9.4 is compatible with eXist-db 3.x ❗

Detailed changes: v0.9.2...v0.9.4

Updates and bugfixes

11 Oct 14:56
Compare
Choose a tag to compare
Updates and bugfixes Pre-release
Pre-release
  • Authentication and Authorization on the broker connection is functional again.
  • Fix: prevent re-replication
  • Fix: use copycontext in functions

❗ v0.9.3 is compatible with eXist-db 2.2 ❗

Detailed changes: v0.9.1...v0.9.3

Make compatible with eXist v3.0 (v2.3)

26 Jun 16:10
Compare
Choose a tag to compare
Pre-release

Wrapup of all work done to make the extension work with the latest exist-db version

v0.9.1...v0.9.2