In RavenDB 3.5, the client implementation of distributed transactions contains a bug that could cause an endpoint to lose data under rare conditions. If RavenDB is configured to enlist in distributed transactions with RavenDB 3.5, read DTC not supported for RavenDB Persistence.
Using RavenDB version 5 and higher in a cluster configuration with multiple nodes is only supported from version 7 or higher of the NServiceBus.RavenDB persistence package. For more information, read cluster configuration with multiple nodes.
As of 2014-10-15, the Platform Installer no longer installs RavenDB Version 2.0 in a directory called "NServiceBus.Persistence.v4" under Program Files
as a prerequisite since NServiceBus Version 5 no longer uses it as the default persistence - see RavenDB installation. If it was previously installed and needs to be removed, it is necessary to remove it manually.
Manual Removal Instructions
- Run "Raven.Server.exe /uninstall" to unregister the service. This doesn't remove the directory, which is by design, as the data sub-directory contains any created databases. See RunningRavendDB as a service.
- Remove the registry key "RavenPort" under "HKEY_LOCAL_MACHINE\SOFTWARE\ParticularSoftware\ServiceBus".
- Remove URLACL for RavenDB Port - it will correspond to the RavenPort listed above, it can also be found in the
Raven.
.Server. config
URLACL Removal
To list the URACLs for that port, from an Admin PowerShell run:
netsh.exe http show urlacl | select-string :8080
This may return something like the following:
Reserved URL: http://+:8080/
Remove it with this command:
netsh.exe http delete urlacl url=http://+:8080/
Final Directory Cleanup
Remove the directory and sub-directory (assuming that RavenDB databases are are no longer needed).
There is one additional cleanup step if the PlatformInstaller was used as the method of install. The Platform Installer used Chocolatey behind the scenes to install packages. It keeps a copy of the installed package in a sub-directory.
The following PowerShell command will list the directory which can be safely deleted.
dir ("{0}\lib" -f $env:ChocolateyInstall) -Filter *RavenDB* | Select -ExpandProperty FullName