RavenDB 4.1 Tidbits: The production environment

time to read 1 min | 171 words

A few things in RavenDB 4.1 are relatively minor features, but they fill a niche and can really help out. One of them is the server environment reminder. When working with multiple clusters with different environment, it is easy to forget in which environment you are on. That can lead to thinking that you are on a test environment when you are actually on production, with much hilarity down the road for the people reading your post mortem.

The server environment (which you can configure from the Studio Configuration) give you the ability to have a visible reminder where you are at. Here is what this looks like:


In some cases, you’ll have a single cluster, but have different databases for different tasks. The environment can be defined at the cluster and database levels, like so: