Particular / ServiceControl

Backend for ServiceInsight and ServicePulse
https://docs.particular.net/servicecontrol/
Other
51 stars 46 forks source link

RavenDB\IndexStoragePath setting not honoured for RavenDB 5 #3511

Open herrJones opened 1 year ago

herrJones commented 1 year ago

Describe the bug

Description

We try to move the indexes for the RavenDB5 audit databases to a separate disk (as we do for the 'normal' ServiceControl instances) We notice however the new index folder remains empty. The indexes remain in the main database folder.

ServiceControl.Audit.exe.config:

<configuration>
<appSettings>
...
<add key="ServiceControl.Audit/DBPath" value="D:\<instance>\Db" />
<add key="Raven/IndexStoragePath" value="I:\<instance>\Indexes" />
...
</appSettings>

</configuration>

Expected behavior

Indexes are created in the specified folder

Actual behavior

Indexes remain in the default folder / audit database storage

Versions

tested with version 4.29.3 Please list the version of the relevant packages or applications in which the bug exists.

Steps to reproduce

add Ravendb/IndexStoragePath setting to config file restart the service

Relevant log output

No response

Additional Information

Workarounds

Possible solutions

Additional information

maybe linked to report #3498

soujay commented 1 year ago

@herrJones - Thank you for reporting this bug. We will review and add it to our enhancement list.