Administration Guide

Software Stack

Component Type Version

OrientDB

Graph Database

3.1.x

Ferma

OGM

2.4.x

Elasticsearch

Search Engine

6.1.x

Vert.x

Core Framework

3.9.x

Hazelcast

In-Memory Data Grid

3.12.x

Dagger 2

Dependency Injection

2.11.x

You can find the components' current version numbers by querying the Gentics Mesh demo instance https://demo.getmesh.io/api/v2/ or your local instance http://localhost:8080/api/v2/.

Run with Docker

Alternatively you can start Gentics Mesh using Docker via:

The mesh-demo image contains Gentics Mesh together with demo content and our demo application.

docker run -p 8080:8080 gentics/mesh-demo

The mesh image contains an empty Gentics Mesh server without any demo content.

docker run -p 8080:8080 gentics/mesh
or
docker run \
 -v mesh-graphdb:/graphdb \
 -v mesh-uploads:/uploads \
 -p 8080:8080 \
 gentics/mesh

Volumes / Locations

The /graphdb volume is irrelevant, if SQL RDBMS storage premium feature is used. Please refer to the feature documentation instead.
Name Description Default Environment Setting

/uploads

Location for fileuploads

MESH_BINARY_DIR=/uploads

/graphdb

Location for the graph database data

MESH_GRAPH_DB_DIRECTORY=/graphdb

/config

Location for configuration files

-

/keystore

Location for the main keystore file which contains the cryptographic keys which are used to sign the JWT.

MESH_AUTH_KEYSTORE_PATH=/keystore/keystore.jks

/backups

Backup data location

MESH_GRAPH_BACKUP_DIRECTORY=/backups

/plugins

Plugin data and configuration location

MESH_PLUGIN_DIR=/plugins

/mesh/data

Remaining data files (e.g. temp dirs, caches)

-

Docker Compose

We also provide a ready to go docker-compose example stack for Gentics Mesh:

Single node setup with included Elasticsearch container:

Multi node clustering setup:

Run with JAR File

Good news: there is no dedicated installation procedure for Gentics Mesh!

All you need is to download the Gentics Mesh JAR file and start by executing

java -jar mesh-demo-X.X.X.jar

Gentics Mesh comes with OrientDB, an embedded graph database, and Elasticsearch. There are no external dependencies besides Java Runtime 11. On first startup, Gentics Mesh will create the data folder and subfolders, set a password for the keystore file and provide the configuration files mesh.yml and mesh-ui-config.js. See Installation Directory for a detailed discussion on Gentics Mesh files & folders.

Command Line Arguments

Various command line arguments can be used to override or supplement previously configured settings.

usage: mesh.jar
 -clusterName <name>              Override the cluster name. Setting a
                                  cluster name will also enable
                                  clustering.
 -disableElasticsearch            Flag which can be used to disable the
                                  Elasticsearch integration.
 -elasticsearchUrl <url>          Elasticsearch URL to be used.
 -help                            This output
 -httpPort <port>                 Override the configured server HTTP
                                  port.
 -initCluster                     Flag which can be used to initialise the
                                  first instance of a cluster. This is
                                  usually only used for testing or setup
                                  of fresh cluster instances.
 -nodeName <name>                 Override the configured node name.
 -resetAdminPassword <password>   Reset the admin password. It is advised
                                  to change the password once again after
                                  the reset has been performed. The
                                  command will also recreate the admin
                                  user if it can't be found in the system.

Installation Directory

On first startup, Gentics Mesh will create all files and folders.

data
   binaryFiles                # Folder for uploads
   binaryImageCache           # Folder for resized and cached images
   graphdb                    # Main Graph Database storage which contains all contents
   tmp                        # Temporary directory
config
   mesh.yml                   # Main Gentics Mesh configuration
   automatic-backup.json      # OrientDB Automatic Backup configuration
   default-distributed-db-config.json # Default configuration for new Cluster Nodes
   hazelcast.xml              # Hazelcast cluster configuration
   keystore.jceks             # Gentics Mesh keystore used to generate and validate JWT's
   logback.xml                # Logging configuration file
   orientdb-server-config.xml # OrientDB Cluster Server configuration
   security.json              # OrientDB security configuration
   mesh-ui-config.js          # Configuration of the Mesh UI

Gentics Mesh ships with two configuration files:

  1. The main configuration file mesh.yml contains all settings for configuring the Gentics Mesh server. All settings are explained in the Configuration & Settings section.

  2. User interface related settings can be changed in mesh-ui-config.js.

All data of your Gentics Mesh instance can be found in the respective subfolders of data.

The folder binaryFiles contains all media assets of your projects including images and other files. binaryImageCache keeps resized versions of requested images. The OrientDB graph data is stored within the graphdb folder. tmp is used by Vert.x and other components e.g. for file uploads.

This folder structure is the default. All paths can be configured in the main configuration file mesh.yml.

The keystore file, by default, is named keystore.jceks. On first startup, a password for the keystore file is created randomly and stored in mesh.yml.

The elasticsearch folder contains the included Elasticsearch installation which will be started by default.

System Requirements

Server Requirements

Gentics Mesh comes with OrientDB, an embedded graph database. There are no external dependencies besides Java Runtime 11.

Production servers must be run on Linux. Windows is not supported. You can however run Gentics Mesh on Windows via Docker Windows.

GraphDB Storage Requirements

The underlying storage filesystem for the Graph Database must support DirectIO.

Filesystem Supported

Ext4

Yes

XFS

Yes

NFS

No

GlusterFS

No

Ceph

No

ZFS

No

Amazon EFS

No

Amazon EBS

Yes

Storage solutions which provide one of the supported filesystems by the means of iSCSI or Fiberchannel are supported.

Gentics Mesh will periodically check the available disk space. If less disk space is available than defined as warn threshold, a warning will be logged. If less disk space is available than defined as read-only threshold, the Mesh instance (in cluster mode all Mesh instances) will be set read-only, so mutating requests will all fail with an appropriate message.

The thresholds can be configured with the configuration settings storage.diskQuota.warnThreshold and storage.diskQuota.readOnlyThreshold either as percentage of the total disk space (e.g. 10%) or as absolute disk space (e.g. 10M). The check interval can be configured with storage.diskQuota.checkInterval (in ms). Setting this to 0 will disable the check.

Cluster Requirements

  • Each Gentics Mesh instance needs at least 1.5 GB heap memory.

  • A shared filesystem needs to be provided for the upload folder. This folder needs to be shared among all cluster instances. Using NFS is a typical choice for these folders.

System Configuration

The maximum open file limit on Linux has to be raised on most Linux systems since the embedded graph database and Elasticsearch server often exceed the amount of concurrent open files.

The limits need to be configured specific to your execution environment.

  • Docker: Limits can be specified during startup or inside the docker-compose.yaml.

  • Systemd: Limits can be specified within the startup service file.

  • K8S/Openshift: Limits need to be configured in the deployments. The commercial helm chart already includes these.

  • sysvinit: The limits can be configured in the /etc/security/limits.conf

Edit /etc/security/limits.conf and add these two lines:

mesh   soft    nofile  60000
mesh   hard    nofile  60000

Edit /etc/pam.d/su and uncomment or add the following line:

session    required   pam_limits.so
This change may require a logout and login.

Client Requirements

The Gentics Mesh user interface has been designed mobile-first and does not impose any specific requirements other than enabled JavaScript. It can be used with any "modern" browser, i.e. IE11+ and latest versions of Chrome, Firefox, and Safari.

Environment Variables

Environment variables will override settings within the mesh.yml.

Variable Description

MESH_BINARY_CHECK_INTERVAL

Override the binary check interval

MESH_GRAPH_TX_RETRY_LIMIT

Override the transaction retry limit. Default: 10

MESH_GRAPH_CLUSTER_JOIN_TIMEOUT

Override the graphdb cluster join timeout. Default: 500000 ms

MESH_GRAPH_NATIVE_QUERY_FILTERING

Override the configured native query filtering.

MESH_S3_BINARY_ACCESS_KEY_ID

Override the configured AWS S3 access key id.

MESH_CLUSTER_TOPOLOGY_CHANGE_READONLY

Override the topology change readonly flag.

MESH_LOCK_PATH

Path to the mesh lock file.

MESH_PLUGIN_DIR

Override the configured plugin directory.

MESH_S3_BINARY_EXPIRATION_TIME_DOWNLOAD

Override the configured AWS S3 download time.

MESH_S3_BINARY_PARSER_LIMIT

Override the configured parser limit.

MESH_HTTP_SSL_CERT_PATH

Override the configured SSL enable flag.

MESH_CLUSTER_COORDINATOR_REGEX

Override the cluster coordinator regex.

MESH_CONTENT_AUTO_PURGE

Override the content versioning flag

MESH_HTTP_HOST

Override the configured http server host which is used to bind to.

MESH_AUTH_TOKEN_EXP

Override the configured JWT expiration time.

MESH_STORAGE_DISK_QUOTA_READ_ONLY_THRESHOLD

Overwrite the disk quota ready only threshold.

MESH_ELASTICSEARCH_HOSTNAME_VERIFICATION

Override the configured hostname verification flag.

MESH_CLUSTER_VERTX_PORT

Override the vert.x eventbus server port.

MESH_VERTX_EVENT_BUS_WARN_THRESHOLD

Override the Vert.x eventBus warn threshold in ms.

MESH_INITIAL_ADMIN_PASSWORD_FORCE_RESET

Control whether a forced password reset should be triggered when creating the initial admin user. Default: true

MESH_HTTP_PORT

Override the configured server http port.

MESH_S3_CORS_ALLOWED_ORIGINS

Override the configured AWS S3 CORS allowed origins.

MESH_HTTP_USE_ALPN

Override the configured ALPN usage flag.

MESH_ELASTICSEARCH_SYNC_BATCH_SIZE

Override the search sync batch size

MESH_S3_BINARY_REGION

Override the configured AWS S3 region.

MESH_MONITORING_JVM_METRICS_ENABLED

Override the configured JVM metrics enabled flag.

MESH_MIGRATION_TRIGGER_INTERVAL

Override the migration trigger interval

MESH_GRAPH_EXPORT_DIRECTORY

Override the graph database export directory.

MESH_CACHE_PATH_SIZE

Override the path cache size.

MESH_VERTX_EVENT_BUS_ERROR_THRESHOLD

Override the Vert.x eventBus error threshold in ms.

MESH_HTTP_SSL_CLIENT_AUTH_MODE

Override the configured client certificate handling mode.

MESH_ELASTICSEARCH_CERT_PATH

Override the configured trusted server certificate.

MESH_HTTP_ENABLE

Override the configured http server flag.

MESH_BINARY_UPLOAD_LIMIT

Override the configured binary byte upload limit.

MESH_HTTP_SERVER_MAX_FORM_ATTRIBUTE_SIZE

Override the max form attribute size

MESH_STORAGE_DISK_QUOTA_WARN_THRESHOLD

Overwrite the disk quota warn threshold.

MESH_PLUGIN_USE_HTTP2

Override the HTTP/2 usage flag for plugins.

MESH_MONITORING_ENABLED

Override the configured monitoring enabled flag.

MESH_S3_CORS_ALLOWED_HEADERS

Override the configured AWS S3 CORS allowed headers.

MESH_IMAGE_CACHE_DIRECTORY

Override the path for image cache directory.

MESH_DEBUGINFO_LOG_ENABLED

Enables the debug info log

MESH_ELASTICSEARCH_BULK_LENGTH_LIMIT

Override the batch bulk length limit. Default: 5000000

MESH_ELASTICSEARCH_RETRY_LIMIT

Override the retry limit.

MESH_HTTP_SSL_TRUSTED_CERTS

Override the configured trusted SSL certificates.

MESH_STORAGE_DISK_QUOTA_CHECK_INTERVAL

Overwrite the disk quota check interval.

MESH_ELASTICSEARCH_INCLUDE_BINARY_FIELDS

Override the search include binary fields flag.

MESH_GRAPH_TX_RETRY_DELAY

Override the transaction retry delay. Default: 10

MESH_DEBUGINFO_LOG_FILE_SIZE

Override the log file size

MESH_VERTX_ORDERED_BLOCKING_HANDLERS

Override the configured Vert.x blocking handlers ordering setting.

MESH_ELASTICSEARCH_BULK_LIMIT

Override the batch bulk limit. Default: 100

MESH_ELASTICSEARCH_USERNAME

Override the configured Elasticsearch connection username.

MESH_GRAPH_BACKUP_DIRECTORY

Override the graph database backup directory.

MESH_CLUSTER_TOPOLOGY_LOCK_TIMEOUT

Override the cluster topology lock timeout in ms.

MESH_VERTX_EVENT_BUS_CHECK_INTERVAL

Override the Vert.x eventBus check interval in ms.

MESH_DEFAULT_LANG

Override the configured default language.

MESH_GRAPH_TX_COMMIT_TIMEOUT

Override the transaction commit timeout. Default: 0

MESH_CLUSTER_NAME

Override the cluster name.

MESH_ELASTICSEARCH_BULK_DEBOUNCE_TIME

Override the bulk debounce time.

MESH_ELASTICSEARCH_CA_PATH

Override the configured common authority certificate path.

MESH_IMAGE_MANIPULATION_MODE

Override the image manipulation mode.

MESH_ELASTICSEARCH_TIMEOUT

Override the configured elasticsearch server timeout.

MESH_VERTX_EVENT_POOL_SIZE

Override the configured Vert.x event pool size.

MESH_AUTH_ANONYMOUS_ENABLED

Override the configured anonymous enabled flag.

MESH_DEBUGINFO_LOG_PATTERN

Override the log pattern

MESH_HTTP_SERVER_TOKENS

Override the http server tokens flag.

MESH_S3_BINARY_METADATA_WHITELIST

Override the metadata whitelist

MESH_NODE_NAME

Override the configured node name.

MESH_ELASTICSEARCH_INDEX_CHECK_INTERVAL

Override the interval for index checks

MESH_S3_BINARY_CACHE_BUCKET

Override the configured AWS S3 bucket.

MESH_START_IN_READ_ONLY

Override the read only mode flag.

MESH_CLUSTER_ENABLED

Override cluster enabled flag.

MESH_LIVE_PATH

Path to the mesh live file.

MESH_ELASTICSEARCH_IDLE_DEBOUNCE_TIME

Override the idle debounce time.

MESH_CLUSTER_COORDINATOR_MODE

Override the cluster coordinator mode.

MESH_HTTP_CORS_ENABLE

Override the configured CORS enable flag.

MESH_GRAPH_STARTSERVER

Override the graph database server flag.

MESH_HTTP_SSL_ENABLE

Override the configured https server flag.

MESH_HTTP_VERTICLE_AMOUNT

Override the http verticle amount.

MESH_PLUGIN_TIMEOUT

Override the configured plugin timeout.

MESH_CLUSTER_NETWORK_HOST

Override the cluster network host.

MESH_S3_BINARY_EXPIRATION_TIME_UPLOAD

Override the configured AWS S3 upload time.

MESH_MONITORING_HTTP_HOST

Override the configured monitoring http server host which is used to bind to.

MESH_VERTX_WORKER_POOL_SIZE

Override the configured Vert.x worker pool size.

MESH_HTTP_MINIFY_JSON

Override the minify JSON flag.

MESH_GRAPHQL_ASYNC_WAIT_TIMEOUT

Override the configured graphQl async wait timeout.

MESH_BINARY_DOCUMENT_PARSER_LIMIT

Override the configured parser limit.

MESH_ELASTICSEARCH_MAPPING_MODE

Override the search mapping mode.

MESH_IMAGE_MAX_HEIGHT

Override the max height for image resize operations.

MESH_ELASTICSEARCH_WAIT_FOR_IDLE

Override the search idle wait flag.

MESH_DEBUGINFO_LOG_FOLDER

Override the path to the debug info log folder

MESH_GRAPH_SYNC_WRITES

Override the graph database sync writes flag.

MESH_HTTP_CORS_ALLOW_CREDENTIALS

Override the configured CORS allowed credentials flag.

MESH_CLUSTER_COORDINATOR_TOPOLOGY

Override the cluster coordinator topology management mode.

MESH_GRAPH_SYNC_WRITES_TIMEOUT

Override the graph database sync write timeout.

MESH_AUTH_PUBLIC_KEYS_PATH

Override the configured public keys file path.

MESH_LANGUAGES_FILE_PATH

Override the path to the optional languages file

MESH_ELASTICSEARCH_PREFIX

Override the configured elasticsearch prefix.

MESH_BINARY_DOCUMENT_PARSER

Override the document parser enabled flag.

MESH_CLUSTER_TOPOLOGY_LOCK_DELAY

Override the cluster topology lock delay in ms.

MESH_AUTH_KEYSTORE_PASS

Override the configured keystore password.

MESH_ELASTICSEARCH_PASSWORD

Override the configured Elasticsearch connection password.

MESH_ELASTICSEARCH_INDEX_MAPPING_CACHE_TIMEOUT

Override the timeout for the cache if index mappings

MESH_GRAPHQL_SLOW_THRESHOLD

Override the configured slow graphQl query threshold.

MESH_S3_BINARY_BUCKET

Override the configured AWS S3 bucket.

MESH_S3_BINARY_SECRET_ACCESS_KEY

Override the configured AWS S3 secret access key.

MESH_MONITORING_HTTP_PORT

Override the configured monitoring server http port.

MESH_ELASTICSEARCH_COMPLIANCE_MODE

Override the search compliance mode.

MESH_HTTP_SSL_KEY_PATH

Override the configured SSL enable flag.

MESH_TEMP_DIR

Override the configured temp directory.

MESH_S3_BINARY_ENABLED_KEY

Override cluster enabled flag.

MESH_ELASTICSEARCH_URL

Override the configured elasticsearch server url. The value can be set to null in order to disable the Elasticsearch support.

MESH_S3_BINARY_LINK_RESOLVER

Override the configured AWS S3 link resolver.

MESH_BINARY_DIR

Override the configured binary data directory.

MESH_UPDATECHECK

Override the configured updatecheck flag.

MESH_AUTH_JWT_ALGO

Override the configured algorithm which is used to sign the JWT.

MESH_ELASTICSEARCH_RETRY_INTERVAL

Override the retry interval.

MESH_ELASTICSEARCH_EVENT_BUFFER_SIZE

Override the configured event buffer size.

MESH_S3_BINARY_CACHE_EXPIRATION_TIME_DOWNLOAD

Override the configured AWS S3 download time.

MESH_HTTP_CORS_ORIGIN_PATTERN

Override the configured CORS allowed origin pattern.

MESH_S3_BINARY_ENDPOINT

Override the configured AWS S3 custom endpoint.

MESH_IMAGE_RESAMPLE_FILTER

Override the sample filter for image resize operations.

MESH_MAX_PURGE_BATCH_SIZE

Override the maximum purge batch size.

MESH_HTTPS_PORT

Override the configured server https port.

MESH_IMAGE_MAX_WIDTH

Override the max width for image resize operations.

MESH_CONTENT_BATCH_SIZE

Override the batch page size. Default: 5000

MESH_CLUSTER_INIT

Enable or disable the initial cluster database setup. This is useful for testing.

MESH_BINARY_UPLOAD_TEMP_DIR

Override the configured upload temporary directory.

MESH_GRAPHQL_SCHEMA_CACHE_SIZE

Override the configured graphQl schema cache size.

MESH_GRAPH_DB_DIRECTORY

Override the graph database storage directory.

MESH_IMAGE_JPEG_QUALITY

Override the JPEG quality for image resize operations.

MESH_S3_CORS_ALLOWED_METHODS

Override the configured AWS S3 CORS allowed methods.

MESH_INITIAL_ADMIN_PASSWORD

Password which will be used during initial admin user creation.

MESH_MAX_MIGRATION_BATCH_SIZE

Override the maximum migration batch size

MESH_S3_BINARY_CACHE_REGION

Override the configured AWS S3 region.

MESH_BINARY_METADATA_WHITELIST

Override the metadata whitelist

MESH_AUTH_KEYSTORE_PATH

Override the configured keystore path.

Configuration & Settings

All settings can be found in the main mesh.yml configuration file, that contains various settings for configuring HTTP & SSL, the graph database, and file upload. The settings for the Gentics Mesh user interface can be found in mesh-ui-config.js.

Both files are located directly in the installation directory.

---
defaultMaxDepth: 10
defaultLanguage: "en"
languagesFilePath: null
updateCheck: true
vertxOptions:
  workerPoolSize: 20
  eventPoolSize: 2
  orderedBlockingHandlers: true
  eventBus:
    checkInterval: 30000
    warnThreshold: 60000
    errorThreshold: 120000
s3options:
  enabled: false
  bucket: null
  expirationTimeUpload: 60000
  expirationTimeDownload: 360000
  linkResolver: null
  metadataWhitelist: null
  parserLimit: 40000
  region: null
  secretAccessKey: null
  accessKeyId: null
  endpoint: null
  s3cacheOptions:
    bucket: null
    expirationTimeDownload: 360000
    expirationTimeUpload: 60000
    region: null
  corsAllowedHeaders:
  - "*"
  corsAllowedOrigins:
  - "*"
  corsAllowedMethods:
  - "GET"
  - "PUT"
  - "POST"
  - "DELETE"
tempDirectory: "/opt/mesh/data/tmp"
pluginDirectory: "plugins"
pluginTimeout: 120
nodeName: null
startInReadOnly: false
versionPurgeMaxBatchSize: 10
migrationMaxBatchSize: 50
migrationTriggerInterval: 60000
pluginUseHttp2: false
httpServer:
  port: 8080
  sslPort: 8443
  host: "0.0.0.0"
  corsAllowedOriginPattern: ""
  corsAllowCredentials: false
  useAlpn: false
  enableCors: false
  http: true
  ssl: false
  certPath: "config/cert.pem"
  keyPath: "config/key.pem"
  clientAuthMode: "NONE"
  trustedCertPaths: []
  verticleAmount: 2
  minifyJson: true
  maxFormAttributeSize: -1
  serverTokens: true
monitoring:
  enabled: true
  port: 8081
  host: "127.0.0.1"
  jvmMetricsEnabled: true
cluster:
  networkHost: null
  enabled: false
  clusterName: null
  vertxPort: 4848
  coordinatorMode: "DISABLED"
  coordinatorRegex: null
  topologyLockTimeout: 0
  topologyLockDelay: 20000
  coordinatorTopology: "UNMANAGED"
  topologyChangeReadOnly: false
search:
  url: "http://localhost:9200"
  username: null
  password: null
  certPath: null
  caPath: null
  hostnameVerification: true
  timeout: 60000
  prefix: "mesh-"
  bulkLimit: 100
  bulkLengthLimit: 5000000
  eventBufferSize: 1000
  bulkDebounceTime: 2000
  idleDebounceTime: 100
  retryInterval: 5000
  retryLimit: 3
  waitForIdle: true
  includeBinaryFields: true
  mappingMode: "DYNAMIC"
  complianceMode: "ES_6"
  syncBatchSize: 50000
  indexCheckInterval: 60000
  indexMappingCacheTimeout: 3600000
upload:
  byteLimit: 262144000
  directory: "data/binaryFiles"
  tempDirectory: "/opt/mesh/data/tmp/temp-uploads"
  parserLimit: 40000
  parser: true
  metadataWhitelist: null
  checkInterval: 60000
security:
  tokenExpirationTime: 3600
  keystorePassword: "<Your Password>"
  keystorePath: "config/keystore.jceks"
  algorithm: "HS256"
  enableAnonymousAccess: true
  publicKeysPath: "config/public-keys.json"
image:
  mode: "ON_DEMAND"
  imageCacheDirectory: "data/binaryImageCache"
  maxWidth: 2048
  maxHeight: 2048
  jpegQuality: 0.95
  resampleFilter: "LANCZOS"
content:
  autoPurge: true
  batchSize: 5000
cache:
  pathCacheSize: 20000
debugInfo:
  logFolder: "debuginfo"
  logFileSize: "5MB"
  logEnabled: true
  logPattern: "%d{HH:mm:ss.SSS} [%meshName] %-5level [%thread] [%file:%line] - %msg%n"
graphQL:
  slowThreshold: 60000
  asyncWaitTimeout: 120000
  schemaCacheSize: 1000
storage:
  nativeQueryFiltering: "NEVER"
  directory: "data/graphdb"
  backupDirectory: "data/backup"
  exportDirectory: "data/export"
  startServer: false
  synchronizeWrites: true
  synchronizeWritesTimeout: 60000
  txRetryDelay: 10
  txRetryLimit: 10
  txCommitTimeout: 0
  parameters: {}
  clusterJoinTimeout: 500000
  diskQuota:
    checkInterval: 10000
    warnThreshold: "3G"
    readOnlyThreshold: "1G"

General Settings

Configuration Type Default Description

updateCheck

Flag

true

An update check to the Gentics Mesh update server will be invoked during startup if this flag is set to true.

defaultLanguage

String

en

Default language which serves as a fallback when no language has been specified within a request.

verticles

List

-

List of Vert.x java verticle classes which will be loaded during startup.

tempDirectory

Path

data/tmp

Path to the main temporary filesystem directory.

languagesFilePath

Path

-

Optional path to a JSON file containing additional languages.

startInReadOnly

Flag

false

If true, Gentics Mesh will be started in read only mode.

versionPurgeMaxBatchSize

Number

10

The maximum amount of node versions that are purged before the database transaction is committed.

Custom Language

By default Gentics Mesh already contains all ISO 639-1 (two letter) language codes. By using the languagesFilePath setting it is possible to provide a custom languages file which can include additional language definitions.

{
    "sq-KS": {
        "name": "Albanian (Kosovo)",
        "nativeName": "Shqip (Kosovo)"
    }
}
Please note that the contentLanguages property in the mesh-ui2-config.js file also needs to be updated in order to show the language in the UI.
The mesh-compose project contains a full example configuration which shows how to add a custom language.

HTTPS/SSL

Server Options

Property Mandatory Type Description

certPath

false

string

Flag which indicates whether SSL support be enabled.

clientAuthMode

false

string

Configure the client certificate handling mode. Options: none, request, required. Default: none

corsAllowCredentials

false

boolean

Flag which indicates whether credentials are allowed to be passed along using CORS requests.

corsAllowedOriginPattern

false

string

Configured CORS allowed origin pattern. You can specify a regex to include multiple hosts if you want to do so.

enableCors

false

boolean

Flag which indicates whether CORS handling should be enabled.

host

false

string

Configure the Gentics Mesh HTTP server host to bind to. Default is: 0.0.0.0

http

false

boolean

Flag which indicates whether http server should be enabled. Default: true

keyPath

false

string

Path to the SSL private key. Default: config/key.pem

maxFormAttributeSize

false

integer

Set the maximum size of a form attribute, set to -1 for unlimited.

minifyJson

false

boolean

Minify JSON responses to save the payload space. Default is true

port

false

integer

Configure the Gentics Mesh HTTP server port. Default is: 8080

serverTokens

false

boolean

Set the http server tokens flag which controls whether the server should expose version information via headers, REST endpoints and GraphQL. Default is true

ssl

false

boolean

Flag which indicates whether https server should be enabled. Default: false

sslPort

false

integer

Configure the Gentics Mesh HTTPS server port. Default is: 8443

trustedCertPaths

false

array

Configure the trusted SSL certificates.

useAlpn

false

boolean

Flag which indicates whether application-level protocol negotiation (aka ALPN) should be used. Normally HTTP/2 connections need this.

verticleAmount

false

integer

Amount of rest API verticles to be deployed. Default is 2 * CPU Cores

Cluster Options

Property Mandatory Type Description

clusterName

false

string

Name of the cluster. Only instances with a common cluster name will form a cluster.

coordinatorMode

false

string

The coordinator mode will add an additional request controller plane which will internally process requests in-between cluster nodes. Default: DISABLED

coordinatorRegex

false

string

The coordinator regex can be used to control which nodes in the cluster are eligible to be elected in a coordinator master election. When left empty all database master nodes are eligible.

coordinatorTopology

false

string

The coordinator topology setting controls whether the coordinator should manage the cluster topology. By default no cluster topology management will be done.

enabled

false

boolean

Flag to enable or disable the cluster mode.

networkHost

false

string

IP or host which is used to announce and reach the instance in the cluster. Gentics Mesh will try to determine the IP automatically but you may use this setting to override this automatic IP handling.

topologyChangeReadOnly

false

boolean

Flag to enable or disable setting the cluster in readonly mode, when the topology changes.

topologyLockDelay

false

integer

Define the delay in ms for the topology lock. It will delay the lock after receiving the database online event. Default: 20000. A value of 0 will disable the delay mechanism.

topologyLockTimeout

false

integer

Define the timeout in ms for the topology lock. The topology lock will lock all transactions whenever the cluster topology changes. Default: 0. A value of 0 will disable the locking mechanism.

vertxPort

false

integer

Port used by Vert.x for the eventbus server. Default: 4848

Storage Options

By default all specified directories are relative to the installation directory.

Property Mandatory Type Description

backupDirectory

true

string

Path to the graph database backup directory.

clusterJoinTimeout

false

integer

The timeout for joining the graphdb cluster in milliseconds. This also includes the time it takes to synchronize the graphdb over the network.

directory

true

string

Path to the graph database data directory.

diskQuota

false

object

Options for the disk quota check

exportDirectory

true

string

Path to the graph database export directory.

nativeQueryFiltering

false

string

Enables the experimental native database level filtering for queries. Default: NEVER

parameters

false

object

Additional set of graph database parameters.

startServer

true

boolean

Flag which indicates whether the graph database admin web server should be started. Default: false

synchronizeWrites

true

boolean

Flag which controls whether writes to the graph database should be synchronized. Default: true

synchronizeWritesTimeout

true

integer

Set the timeout in milliseconds for the sync write lock. Default: 60000

txCommitTimeout

false

integer

The transaction commit timeout in milliseconds. A timeout value of zero means that transaction commit operations will never timeout.

txRetryDelay

false

integer

The delay in milliseconds when a transaction has to be retried.

txRetryLimit

false

integer

The limit for the tx retires.

Disk Quota Check Options

Property Mandatory Type Description

checkInterval

false

integer

Check interval in ms. Setting this to 0 will disable the disk quota check. Default: 10000

readOnlyThreshold

false

string

Threshold for the disk quota ready only level. This can be set either as percentage (e.g. 10%) or as absolute disk space (e.g. 5G). If less than the defined disk space is available, Mesh will automatically be set to readonly. Default: 1G

warnThreshold

false

string

Threshold for the disk quota warn level. This can be set either as percentage (e.g. 15%) or as absolute disk space (e.g. 10G). If less than the defined disk space is available, warnings will be logged. Default: 3G

OrientDB parameters

Configuration Type Default Description

ridBag.embeddedToSbtreeBonsaiThreshold

Number

2147483647

Configures the ridbag threshold for OrientDB. This setting controls how OrientDB manages the internal ridbag data structure. This setting will be ignored when run in clustered mode. See OrientDB documentation for more details.

Search Options

Property Mandatory Type Description

bulkDebounceTime

false

integer

The maximum amount of time in milliseconds between two bulkable requests before they are sent. Default: 2000

bulkLengthLimit

false

integer

Upper limit for the total encoded string length of the bulk requests. Default: 5000000

bulkLimit

false

integer

Upper limit for the size of bulk requests. Default: 100

caPath

false

string

Path to the trusted common authority certificate (PEM format)

certPath

false

string

Path to the trusted server certificate (PEM format). This setting can be used when the Elasticsearch server is using a self-signed certificate which would otherwise not be trusted.

complianceMode

false

string

This setting controls the compliance mode for Elasticsearch. When set to ES_7 it will support Elasticsearch 7.x - In PRE_ES_7 mode it will support Elasticsearch 6.x - Default: PRE_ES_7

eventBufferSize

false

integer

Upper limit for mesh events that are to be mapped to elastic search requests. Default: 1000

hostnameVerification

false

boolean

Flag which controls whether hostname verification should be enabled. Default: true

idleDebounceTime

false

integer

The maximum amount of time in milliseconds between two successful requests before the idle event is emitted. Default: 100

includeBinaryFields

false

boolean

If true, the content and metadata of binary fields will be included in the search index. Default: true

indexCheckInterval

false

integer

Set the interval of index checks in ms. Default: 60000

indexMappingCacheTimeout

false

integer

Set the timeout for the cache of index mappings in ms. Default: 3600000

mappingMode

false

string

This setting controls the mapping mode of fields for Elasticsearch. When set to STRICT only fields which have a custom mapping will be added to Elasticsearch. Mode DYNAMIC will automatically use the Gentics Mesh default mappings which can be supplemented with custom mappings. Default: DYNAMIC

password

false

string

Password to be used for Elasticsearch authentication.

prefix

false

string

Search server prefix for this installation. Choosing different prefixes for each Gentics Mesh instance will allow you to use a single Elasticsearch cluster for multiple Gentics Mesh instances. Default: mesh-

retryInterval

false

integer

The time in milliseconds between retries of elastic search requests in case of a failure. Default: 5000

retryLimit

false

integer

The amount of retries on a single request before the request is discarded. Default: 3

syncBatchSize

false

integer

Configure the index sync batch size. Default: 50000

timeout

false

integer

Timeout for Elasticsearch operations. Default: 60000ms

url

false

string

Elasticsearch connection url to be used. Set this setting to null will disable the Elasticsearch support.

username

false

string

Username to be used for Elasticsearch authentication.

waitForIdle

false

boolean

If true, search endpoints wait for elasticsearch to be idle before sending a response. Default: true

Upload Options

Property Mandatory Type Description

byteLimit

false

integer

The upload size limit in bytes. Default: 262144000 (250 MB)

checkInterval

false

integer

Interval in milliseconds for performing binary check requests for binary fields where a check service URL is defined. For values less than one the check is disabled. (default: 60000).

directory

false

string

Path binary data storage directory. Fileuploads will be placed here.

metadataWhitelist

false

array

If set, the parser will only extract metadata with the keys specified in the list.

parser

false

boolean

If true, the document parser will process uploads and extract metadata and contents. Default: true

parserLimit

false

integer

The parser limit for uploaded documents (pdf, doc, docx). Default: 40000

tempDirectory

false

string

Path to the file upload temporary directory. Inbound file uploads will be placed here before they are processed.

Security Options

Property Mandatory Type Description

algorithm

true

string

Algorithm which is used to verify and sign JWT.

enableAnonymousAccess

false

boolean

Flag which indicates whether anonymous access should be enabled.

keystorePassword

true

string

The Java keystore password for the keystore file.

keystorePath

true

string

Path to the java keystore file which will be used to store cryptographic keys.

publicKeysPath

false

string

Path to the public keys file which contains a list of additional JWK formatted public keys which will be used to verify JWTs.

tokenExpirationTime

true

integer

Time in minutes which an issued token stays valid.

Public Keys

A file with additional public keys can be specified via the publicKeysPath property. The public keys from this file will be used to validate JWT’s which were not issued by Gentics Mesh. This is especially useful when using Gentics Mesh with external OIDC / OAuth2 providers.

The keys have to be specified in the JWK format.

{
    "keys": [
        {
            "kid": "lGX_LDchDZWZoUMcdn3cfTtPTUpp0ZIzHorijXn5igU",
            "kty": "RSA",
            "alg": "RS256",
            "use": "sig",
            "n": "m01o1DS-eTG7r7yZdtpkk_x9isOHfrFsF0KM1-zR0lFAVwb7BSK9fOZonUESZmPKEWZv9AOQgGKY6BAk_VOZqjZVEgpvgRCHpvguSYMF3ow8dyJSk1WMd7qp5Aq9wlc__L8eksNIh8-BxiptpfqVEyYTjsoJ2s87Cg3aVT6rhsU0KtGOE-xg00H4rI_6r_WjBt52Jgnu02P-nNhE8kVLsm1Dk9ZEvBVC55df51mpkAhzLKEOXAKLCXr9JEw73dhaGG6MJ9EGeFE5J4NKtcJlYS15IpEGk2B8A-BlE_Pc7c77R80HfH9EEV_GvLVYq0ZN_ei10uXkOj6ChA8JvSbkUQ",
            "e": "AQAB",
            "x5c": [
                "MIICmzCCAYMCBgFwH+cutjANBgkqhkiG9w0BAQsFADARMQ8wDQYDVQQDDAZtYXN0ZXIwHhcNMjAwMjA3MTM0NTA5WhcNMzAwMjA3MTM0NjQ5WjARMQ8wDQYDVQQDDAZtYXN0ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbTWjUNL55MbuvvJl22mST/H2Kw4d+sWwXQozX7NHSUUBXBvsFIr185midQRJmY8oRZm/0A5CAYpjoECT9U5mqNlUSCm+BEIem+C5JgwXejDx3IlKTVYx3uqnkCr3CVz/8vx6Sw0iHz4HGKm2l+pUTJhOOygnazzsKDdpVPquGxTQq0Y4T7GDTQfisj/qv9aMG3nYmCe7TY/6c2ETyRUuybUOT1kS8FULnl1/nWamQCHMsoQ5cAosJev0kTDvd2FoYbown0QZ4UTkng0q1wmVhLXkikQaTYHwD4GUT89ztzvtHzQd8f0QRX8a8tVirRk396LXS5eQ6PoKEDwm9JuRRAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAG5FUbZ+O/D68KdDJEP3ozl1DaiB8d2ESdfY+VkUAbZQ8OCw2uIc1boWGMc1cgVEC0I3UgNf0yOWYb8B4TlkkSfKojgKzanJN+lZPD6kdxgSx97NnuasKQiSCSyxGX9Ho5HoiHPlcMCl8f0R2ODPQJfPPIqh6+2wxJLCPkkqNO3Nvp98IS/EV6L4VNtecZvS09BeUc4LxFKqlnAZwQ5E7oCUXDmDKWlpdIei0XErhEasvbOYfVdcZhgty0xLrn9wCG+0HAt1uxf8y00Sl80f5dcIoPKgyOHtTYQV3U22ZgATt2CJmHUJjku6ALjAPkMgIgnzWTZZV186T+I7aiYtBes="
            ],
            "x5t": "PxgAp5rbw5v52HdIC6jDlQxh37M",
            "x5t#S256": "AMquThnlmJHomcZV1zl89FMHyEl4QJHsqNf1QU8xK8M"
        }
    ]
}

Monitoring Options

Property Mandatory Type Description

enabled

false

boolean

Enable or disable the monitoring system. Default is: true

host

false

string

Configure the Gentics Mesh monitoring HTTP server host to bind to. Default is: 127.0.0.1

jvmMetricsEnabled

false

boolean

Enable or disable the measuring of JVM metrics. Default is: true

port

false

integer

Configure the Gentics Mesh monitoring HTTP server port. Default is: 8081

Image Options

Property Mandatory Type Description

imageCacheDirectory

false

string

Configure the path for image cache directory. Default: data/binaryImageCache

jpegQuality

false

number

Configure the quality of the output of JPEG images. Must be a value between inclusive 0 and inclusive 1. Default: 0.95

maxHeight

false

integer

Configure the maximum allowed image resize height. Resizing is a memory intensive operation and thus this limit can help avoid memory issues. Default: 2048

maxWidth

false

integer

Configure the maximum allowed image resize width. Resizing is a memory intensive operation and thus this limit can help avoid memory issues. Default: 2048

mode

false

string

Configure the image manipulation mode. Default: ON_DEMAND.

resampleFilter

false

string

Configure the filter that is used when resizing images. Default: LANCZOS

Cache Options

Property Mandatory Type Description

pathCacheSize

false

integer

Set the maximum size of the path cache. A value of 0 will disable the cache. Default: 20000

Additionally it is possible to tweak the underlying OrientDB cache settings.

Debug Information Options

Property Mandatory Type Description

logEnabled

false

boolean

Enables the debug info log.

logFileSize

false

string

The maximum file size of a single log file.

logFolder

false

string

The path of the folder where the debug info log is stored.

logPattern

false

string

The pattern used for each log line. For the detailed pattern format description please refer to the Logback documentation. Default value is: %d{HH:mm:ss.SSS} [%meshName] %-5level [%thread] [%file:%line] - %msg%n

GraphQL Options

Property Mandatory Type Description

asyncWaitTimeout

false

integer

Threshold for waiting for asynchronous graphql queries. Default: 120000ms

schemaCacheSize

false

integer

Cache size for graphQl Schema instances. Setting this to 0 will disable the cache. Default: 1000

slowThreshold

false

integer

Threshold for logging slow graphql queries. Default: 60000ms

Memory Settings

Memory settings can be defined using the JAVA_TOOL_OPTIONS environment variable.

Setting Description

-Xmx

Maximum heap size of the Gentics Mesh Java process

-Xms

Initial heap size of the Gentics Mesh Java process

-Xss

Stack size. A larger stack size may be required when deleting deep datasets. The default value is 1MB.

-XX:MaxDirectMemorySize

Maximum direct memory limit. Direct memory is mostly used for IO buffers.

-Dstorage.diskCache.bufferSize

Disk buffer size in megabytes used for the graph database. The disk cache will make use of direct memory that is independent of the above setting.

The total amount of required memory is the roughly sum of heap memory + direct memory + disk cache + (stack size * thread count) + 256 MB (OrientDB + JVM base memory).

Recommendations (Single Node)

The following numbers serve the purpose to roughly estimate the memory requirements for different sized projects in a non-clustered setup.

Node Count Memory Setting

0 to 100

-Xms128m -Xmx128m -XX:MaxDirectMemorySize=128m -Dstorage.diskCache.bufferSize=128

100 to 1_000

-Xms512m -Xmx512m -XX:MaxDirectMemorySize=128m -Dstorage.diskCache.bufferSize=256

1_000 to 10_000

-Xms786m -Xmx786m -XX:MaxDirectMemorySize=128m -Dstorage.diskCache.bufferSize=384

10_000 to 100_000

-Xms1250m -Xmx1250m -XX:MaxDirectMemorySize=128m -Dstorage.diskCache.bufferSize=512

100_000 to 1_000_000

-Xms2500m -Xmx2500m -XX:MaxDirectMemorySize=128m -Dstorage.diskCache.bufferSize=1024

Recommendations (Clustered Node)

The following numbers serve the purpose to roughly estimate the memory requirements for different sized projects in a clustered setup.

Node Count Memory Setting

0 to 100

-Xms1124m -Xmx1124m -Xss1m -XX:MaxDirectMemorySize=628m -Dstorage.diskCache.bufferSize=628

100 to 1_000

-Xms1512m -Xmx1512m -Xss2m -XX:MaxDirectMemorySize=856m -Dstorage.diskCache.bufferSize=856

1_000 to 10_000

-Xms1786m -Xmx1786m -Xss2m -XX:MaxDirectMemorySize=984m -Dstorage.diskCache.bufferSize=984

10_000 to 100_000

-Xms2250m -Xmx2250m -Xss2m -XX:MaxDirectMemorySize=1024m -Dstorage.diskCache.bufferSize=1024

100_000 to 1_000_000

-Xms3500m -Xmx3500m -Xss4m -XX:MaxDirectMemorySize=2048m -Dstorage.diskCache.bufferSize=2048

Admin Access

By default an admin user will be created during initial startup. The password of this user will be printed in the log. It is mandatory to update the admin password during the first login.

For demo installations the password is admin.

Additional admin users can be created by setting the admin flag the users.

The admin access can be restored via the use of the resetAdminPassword mesh server argument.

Backup & Recovery

There are currently fours components which can be included in a backup:

  • Graph Database - The graph database contains the main content of Gentics Mesh. The DB can be backed up on demand via /api/v2/admin/graphdb/backup endpoint or via the OrientDB backup job using automatic-backup.json. This will automatically create a full backup. Note that both backup processes will block the application. The graph database backup process will write a backup file to the configured backup location (see [Storage Location]).

  • Binary files - Binaries are currently stored in the filesystem and need to be backed up separately data/binaryFiles)

  • Elasticsearch Index - Optionally you can also backup the Elasticsearch index. The index can also be re-created anytime using the POST /api/v2/search/sync endpoint.

  • Configuration - The Gentics Mesh configuration files should be part of a backup. Especially the keystore.jks file is important since it contains the cryptographic keys which are needed to authenticate issued tokens which includes also the API key. The mesh.yaml file contains the autogenerated password for the keystore file. The keystore file and the password to open it are required by Gentics Mesh to authenticate tokens.

The POST /api/v2/admin/graphdb/restore endpoint can be used to restore created backups. The endpoint will utilize the latest backup found in the backup directory.

Invoking the backup/restore endpoints will block all execution and request processing. Reverse proxies may return a timeout error when the request takes too long.
The backup endpoint will only create a backup of the graph database. The other components need to be handled separately.
The restore operation can’t be executed on Mesh instances which have clustering enabled.

If you already run Gentics Mesh in a cluster you can start a dedicated backup instance which can run the backup process without interference of the other nodes.

Take a look at our docker-compose example for a documented setup.

Import & Export

The POST /api/v2/admin/graphdb/export and POST /api/v2/admin/graphdb/import endpoints can be used to generate Graph Database export files which are gzipped json files. A large database can be exported and reimported again to reduce the sparse file size.

Debug Information

The debug info endpoint (GET /api/v2/admin/debuginfo) starts a zip download containing various useful data about the system.

The documentation below lists all files that are included in the zip.

Per default everything except the consistency check is included in the zip. You can use the ?include query parameter to include or exclude specific parts. For example /api/v2/admin/debuginfo?include=-backup,consistencyCheck will exclude the database backup and include the consistency checks.

Active Config

Query name: activeConfig

The effective configuration that is currently used in the system. This includes overrides by command line argument and environment variables.

Binary Disk Usage

Query name: binaryDiskUsage

The total file size of all stored binaries and cached images.

Configurations

Query name: config

The following files from the config folder:

  • mesh.yml

  • hazelcast.xml

  • logback.xml

  • default-distributed-db-config.xml

  • orientdb-server-config.xml

Consistency Check

Query name: consistencyCheck

Performs a consistency check and includes the result.

Database Backup

Query name: backup

Including this will cause the database to be in read only mode for the duration of the backup.

Performs a Graph database backup and includes the files.

Entities

Query name: entities

Includes the following entities as json:

  • All jobs

  • All Schemas

  • All Microschemas

  • All Projects

  • All Branches

Log

Query name: log

Includes the latest debug log output of Gentics Mesh. Check the debug info options for more options.

Migration Status

Query name: migrationStatus

Includes the schema migration status and mircoschema migration status for every branch of every project.

Plugins

Query name: plugins

Status

Query name: status

System Information

Query name: systemInfo

Contains the following informations about the system:

  • System load average

  • JVM memory usage

  • JVM arguments

  • Disk space usage (of the file system where Gentics Mesh is running)

Thread Dump

Query name: threadDump

A dump of all threads including all stack traces.

Read Only Mode

Gentics Mesh can be put into read only mode. In this mode, all requests that would change data (create, update, delete) are not allowed and return a `405ยด status code instead.

This is useful in cluster situations when having instances as replicas or when performing rolling updates.

Activating Read Only Mode

Read only mode can be activated in one of the following ways:

  • Setting the entry startInReadOnly to true in the configuration file before starting will start Gentics Mesh in read only mode.

  • Setting the environment variable MESH_START_IN_READ_ONLY to true before starting will start Gentics Mesh in read only mode.

  • Using the REST API. Changing read only mode in this way will take immediate effect.

Update handling

Updating Gentics Mesh is very simple. You stop the current instance and start it again using the new version. A process is invoked which will check whether any automatic changes need to be applied.

Downgrading

Downgrading is possible but not recommended. You can however downgrade your Gentics Mesh instance if the database revision hash of the current database matches up with the revision which is required by the version which is being started. You can check your current database revision via the /api/v2 endpoint.

Database Revisions

This list contains an overview over Gentics Mesh releases and the their database revisions. The database revision is different if the used Graph Database version was updated or if the database structure was altered due to an automatic change.

Version Database revision

0.17.0

928799b7

0.17.1

45622ae7

0.17.2

45622ae7

0.17.3

45622ae7

0.18.0

45622ae7

0.18.1

45622ae7

0.18.2

ffa4f86b

0.18.3

ffa4f86b

0.19.0

ffa4f86b

0.19.1

ffa4f86b

0.19.2

ffa4f86b

0.20.0

ffa4f86b

0.21.0

ffa4f86b

0.21.1

ffa4f86b

0.21.2

ffa4f86b

0.21.3

ffa4f86b

0.21.4

ffa4f86b

0.21.5

ffa4f86b

0.22.0

ffa4f86b

0.22.1

ffa4f86b

0.22.2

ffa4f86b

0.22.3

ffa4f86b

0.22.4

ffa4f86b

0.22.5

ffa4f86b

0.22.6

ffa4f86b

0.22.7

ffa4f86b

0.22.8

446961fd

0.22.9

446961fd

0.22.10

446961fd

0.22.11

446961fd

0.23.0

65b328d9

0.24.0

65b328d9

0.24.1

65b328d9

0.25.0

de7eb14f

0.26.0

de7eb14f

0.27.0

de7eb14f

0.27.1

de7eb14f

0.27.2

de7eb14f

0.28.0

de7eb14f

0.28.1

de7eb14f

0.28.2

de7eb14f

0.28.3

de7eb14f

0.29.0

9220a11e

0.29.1

9220a11e

0.29.2

9220a11e

0.29.3

a13a9976

0.29.4

a13a9976

0.29.5

a13a9976

0.29.6

3c4e8ea4

0.29.7

3c4e8ea4

0.29.8

3c4e8ea4

0.29.9

3c4e8ea4

0.29.10

3c4e8ea4

0.30.0

3c4e8ea4

0.30.1

3c4e8ea4

0.30.2

0be9a986

0.31.0

1172e7f3

0.31.1

1172e7f3

0.31.2

46906a4d

0.31.3

46906a4d

0.31.4

46906a4d

0.31.5

46906a4d

0.31.6

46906a4d

0.32.0

46906a4d

0.33.0

2a670600

0.33.1

2a670600

0.34.0

2a670600

0.35.0

2a670600

0.36.0

2a670600

0.36.1

2a670600

0.36.2

f1f2cb17

0.36.3

f1f2cb17

0.36.4

f1f2cb17

0.36.5

f1f2cb17

0.36.6

f1f2cb17

0.36.7

f1f2cb17

0.36.8

69d087b2

0.37.0

69d087b2

0.37.1

69d087b2

0.38.0

69d087b2

0.38.1

69d087b2

0.39.0

69d087b2

0.39.1

69d087b2

0.39.2

69d087b2

0.40.0

2def7ead

0.40.1

2def7ead

0.40.2

2def7ead

0.40.3

2def7ead

0.41.0

2def7ead

1.0.0

2def7ead

1.0.1

2def7ead

1.0.2

2def7ead

1.1.0

57eaa255

1.1.1

57eaa255

1.2.0

cfe291f2

1.2.1

cfe291f2

1.3.0

55e55717

1.3.1

55e55717

1.3.2

55e55717

1.3.3

55e55717

1.4.0

55e55717

1.4.1

4db1ebe3

1.4.2

4db1ebe3

1.4.3

4db1ebe3

1.4.4

4db1ebe3

1.4.5

4db1ebe3

1.4.6

4db1ebe3

1.4.7

4db1ebe3

1.4.8

4db1ebe3

1.5.0

4db1ebe3

1.5.1

4db1ebe3

1.5.2

4db1ebe3

1.5.3

4db1ebe3

1.6.0

4db1ebe3

1.7.0

4db1ebe3

1.7.1

4db1ebe3

1.7.2

4db1ebe3

1.7.3

af59dad7

1.7.4

7619dc72

1.7.5

7619dc72

1.7.6

fee4eeb5

1.7.7

fee4eeb5

1.7.8

c5c258ad

1.7.9

c5c258ad

1.7.10

c5c258ad

1.7.11

c5c258ad

1.7.12

c5c258ad

1.7.13

c5c258ad

1.7.14

c5c258ad

1.7.15

c5c258ad

1.7.16

01407b0d

1.7.17

01407b0d

1.7.18

01407b0d

1.7.19

01407b0d

1.7.20

01407b0d

1.7.21

8091d350

1.7.22

01407b0d

1.8.0

01407b0d

1.8.1

01407b0d

1.8.2

01407b0d

1.8.3

01407b0d

1.8.4

01407b0d

1.8.5

7f2ff7d7

1.8.6

7f2ff7d7

1.9.0

7f2ff7d7

1.9.1

7f2ff7d7

1.9.2

7f2ff7d7

1.9.3

7f2ff7d7

1.9.4

7f2ff7d7

1.9.5

7f2ff7d7

1.9.6

7f2ff7d7

1.9.7

7f2ff7d7

1.9.8

7f2ff7d7

1.9.9

7f2ff7d7

1.10.0

6d5ccff3

1.10.1

6d5ccff3

1.10.2

6d5ccff3

1.10.3

6d5ccff3

1.10.4

6d5ccff3

1.10.5

6d5ccff3

1.10.6

6d5ccff3

1.10.7

6d5ccff3

1.10.8

6d5ccff3

1.10.9

6d5ccff3

1.10.10

6d5ccff3

2.0.0

6d5ccff3

2.0.1

6d5ccff3

2.0.2

6d5ccff3

2.0.3

6d5ccff3

2.0.4

6d5ccff3

2.0.5

6d5ccff3

2.0.6

6d5ccff3

2.0.7

6d5ccff3

2.0.8

6d5ccff3

2.0.9

6d5ccff3

2.0.10

6d5ccff3

2.0.11

6d5ccff3

2.0.12

6d5ccff3

2.0.13

6d5ccff3

2.0.14

6d5ccff3

2.0.15

6d5ccff3

2.0.16

6d5ccff3

2.0.17

6d5ccff3

2.0.18

6d5ccff3

2.1.0

6d5ccff3

2.1.1

6d5ccff3

2.1.2

6d5ccff3

2.1.3

6d5ccff3

2.1.4

6d5ccff3

2.1.5

6d5ccff3

2.1.10

6d5ccff3

Database Consistency

It is possible to verify the database integrity via the GET /api/v2/admin/consistency/check endpoint.

The response contains information about the found inconsistencies and whether they have a repair action.

{
  "outputTruncated" : false,
  "result" : "INCONSISTENT",
  "repairCount" : { },
  "inconsistencies" : [ {
    "description" : "A dangling field container has been found.",
    "severity" : "LOW",
    "elementUuid" : "c5ac82fa1a9c43b6ac82fa1a9ca3b61c",
    "repaired" : false,
    "repairAction" : "DELETE"
  } ]
}

The POST /api/v2/admin/consistency/repair endpoint can be used to invoke a check and repair of repairable inconsistencies.

The repaired property will be set to true if the inconsistency could be fixed.

{
  "outputTruncated" : false,
  "result" : "INCONSISTENT",
  "repairCount" : { },
  "inconsistencies" : [ {
    "description" : "A dangling field container has been found.",
    "severity" : "LOW",
    "elementUuid" : "c5ac82fa1a9c43b6ac82fa1a9ca3b61c",
    "repaired" : true,
    "repairAction" : "DELETE"
  } ]
}

Filesystem support

The filesystem ZFS (ZFS on Linux) does currently not support Direct IO on Linux.

When using ZFS it is thus required to turn off direct IO usage of OrientDB. Please use the -Dstorage.wal.allowDirectIO=false setting in this case.

The direct IO support will be included in ZFS 0.8

License