project-lux / lux-marklogic

Code, issues, and resources related to LUX MarkLogic
Other
3 stars 2 forks source link

Add forest-related properties to gradle.properties #78

Closed brent-hartwig closed 3 months ago

brent-hartwig commented 3 months ago

Forest-related properties were found to only be defined in environment-specific properties files. The following should be added to gradle.properties. Environment-specific properties files may override.

# Databases that are only to have one primary forest.
mlDatabasesWithForestsOnOneHost=lux-modules
# Default other databases to having one forest per host.
mlContentForestsPerHost=1
# Override the lux-content database to have three forests per host.
mlForestsPerHost=lux-content,3
# Replicate nearly all databases once, in order to keep any dependent app server and database online should one node go down.
# Security is replicated twice to help if two nodes go down.
mlDatabaseNamesAndReplicaCounts=lux-content,1,lux-modules,1,App-Services,1,Meters,1,Modules,1,Schemas,1,Triggers,1,Security,2
brent-hartwig commented 3 months ago

Implemented in PR https://github.com/project-lux/lux-marklogic/pull/79 and merged into the release1.12 branch.