Not found icon
The article you are looking for does not exist in the chosen language.

You were redirected to the main page of nodejs documentation.

NoSQL Database Documentation

We hereby welcome you into the RavenDB Documentation.
Feel free to explore the sizeable world of our premier NoSQL database.

Contribute to RavenDB documentation Become part of the community! Contribute to documentation.

What's new

5.2.102 (52029) - 2022/04/19

Server

  • [Backups] fixed issue with backups timers not being rescheduled when database fails to load
  • [Backups] fixed issue with region being ignored when using backup to S3 with custom url
  • [Cluster] fixed possible NRE in Cluster Observer causing a lot of I/O used by the Cluster Observer process
  • [Compression] fixed possibility of having duplicates in the compressed collections list after doing import
  • [ETL] fixed issue with updating ETL process state which could result in ETL looping and getting stuck
  • [ETL] fixed issue with OLAP ETL not removing all the internal states after task is deleted
  • [Indexes] fixed issue with FirstOrDefault retuning null instead of dynamic null in some cases for map-reduce indexes
  • [Indexes] fixed issue with rolling index deployments getting stuck
  • [Migration] exposed SQL PK values to the migration script
  • [Revisions] allow to delete revision bin even when revisions are disabled
  • [Time Series] fixed 'Invalid time unit None' exception during application of rollup policy
  • [Time Series] removing stats of existing time series properly to avoid issues with tombstone cleaner not cleaning everything up
  • [Voron] fixed potential deadlock when getting flushing and write transaction locks
  • [Voron] fixed potential race condition between backup and journal applicator
  • [.NET] updated to .NET 6.0.4

Client API

  • [Caching] fixed issue with Aggressive Cache not being used by Lazy operations in some cases
  • [Time Series] better exception message when using properties within structs for typed Time Series

Setup

  • Signed setup-as-service.ps1

Studio

  • [Cluster Dashboard] added Tasks panel
  • [Configuration] allow to set -1 as a value
  • [Documents] Fixed issue with Studio re-sorting properties after formatting the document which could cause JSON.NET to throw an exception because the $type property needs to be first
  • [Documents] upon refreshing document Studio will remember 'collapse' state instead of resetting the state
  • [Documents] added option to copy conflicted documents
  • [Indexes] Notify that enabling/disabling indexing required database reloading
  • [Indexes] Warn users that storing index fields should be used with caution
  • [Debug] show spinner while generating stacktraces

5.2.101 (52025) - 2022/03/15

Server

  • [Backup] fixed issue with concurrent access to headers files when doing snapshot backup
  • [Backup] fixed issue with trying to backup already deleted journals when doing snapshot backup
  • [Cluster] fixed unhandled cases for raft snapshot
  • [Cluster] fixed error with snapshot installation of compare exchanges with expiration (it required System storage schema upgrade)
  • [Configuration] added new configuration option Indexing.Static.RequireAdminToDeployJavaScriptIndexes
  • [Counters] added counters tombstone cleaner
  • [Debug] fixed potential invalid memory access during creation of Debug Package
  • [Debug] added timeout for Debug Package creation
  • [Indexing] fixed wrong decompression usage in map-reduce indexes that could result in low level Voron errors
  • [Indexing] fixed issue with compacting an index with NGram analyzer
  • [Indexing] fixed issue with putting ReplacementOf indexes in the database record
  • [Indexing] fixed index error when trying to parse a short type
  • [Indexing] fixed problem with undisposed indexes and UnauthorizedAccessException if an error was thrown during a database initialization
  • [Indexing] added ability to enable / disable an index cluster-wide
  • [Indexing] added indexer to DynamicArray
  • [Licensing] fixed the downgrade to dev license from commercial one
  • [Licensing] better error when trying to activate an expired ISV license
  • [Querying] fixed export to CSV filename was not encoded
  • [SNMP] fixed the count of faulty databases when doing compaction
  • [SNMP] fixes issue with time since oldest backup showing wrong values for never backed up dbs
  • [SNMP] added number of faulty indexes (per database and total)
  • [.NET] updated to .NET 6.0.3
  • [Schema Upgrade] this release includes the upgrade of System storage schema - it prevents from doing downgrade to older RavenDB build

Client

  • [Bulk insert] forced data flush on initial write of data to the server to fix potential connection problem when using SSL
  • [Session] exposed AddOrPatch and AddOrIncrement to IAsyncAdvancedSessionOperations

Studio

  • [Backup] fixed issue with showing backup progress
  • [Indexing] exposed more details on indexing performance view

5.2.100 (52022) - 2022/02/01

Server

  • [Certificates] when database is being deleted, access will be removed from the certificate as well, after recreation of the database permissions needs to be set again
  • [Cluster] fixed issue with observer moving node from member to rehab back and forth
  • [Configuration] added 'Indexing.TimeSinceLastQueryAfterWhichDeepCleanupCanBeExecutedInMin'
  • [Compare Exchange] atomic guards should inherit @expires from the source document
  • [Counters] properly removing counters and counters-snapshot from metadata upon counter deletion
  • [Debug] added database record to the debug package
  • [Encryption] fixed issue with encrypted stream flushes not being done in 4096 increments when using gzip
  • [Indexes] properly handle SelectMany with DateTime
  • [Indexes] rolling deployment should not deploy in more than one node at the same time, this could happen if documents were modified in certain order
  • [JSON] support for 'yyyy-MM-ddTHH:mm:ss.fff' format
  • [Querying] fixed issue with using in projections fields from documents loaded using 'load'
  • [Querying] added the ability to early cancel JS projection when executing that on time series
  • [Replication] fixed possible freed memory usage
  • [Time Series] fixed issue with Time Series value not updating across all of the nodes when certain order of operations is performed on various nodes at the same time
  • [.NET] updated to .NET 6

Client API

  • [Bulk Insert] fixed issue with sending very large documents
  • [Changes API] fixed retry connection handling
  • [Subscriptions] do not fail subscription worker if MaxErroneousPeriod was spent during registration of subscription connection

Studio

  • [Backup] region should not be mandatory when using custom S3 host

5.2.6 (52021) - 2022/01/07

Server

  • [Compression] fixed possible data corruption issue that could occur when transaction which used compression was rolled-back

5.2.5 (52020) - 2021/12/21

Server

  • [Backup] fixed issue with testing AWS credentials when custom URL is used
  • [Backup] fixed issue with rescheduling backup when during processing it is being moved to another node
  • [Backup] added 'ForcePathStyle' option to S3 settings
  • [Backup] properly escaping tombstone ID during backup
  • [Backup] fixed issue when exporting and importing could lose ID capitalization when cluster transaction with atomic guard was used to create that document
  • [Cluster] idle indexes should not be taken into account when calculating promotable state
  • [Compare Exchange] fixed possible NRE when 'AddOrUpdateCompareExchangeCommand' is executed due to possibility of early context release
  • [Configuration] added 'Indexing.TimeSinceLastQueryAfterWhichDeepCleanupCanBeExecutedInMin' configuration option
  • [Configuration] added 'Indexing.IndexStartupBehavior' configuration option
  • [ETL] fixed possibility of infinite loop in ETL (backported from 5.2)
  • [ETL] fixed issue with removing node from database too early when deletion status is still set to 'no'
  • [Indexing] added support for 'LoadDocument' without adding a tracking reference
  • [Indexing] early stop reference processing if server is under memory pressure
  • [Indexing] fixed issue with retrying 'OutputReduceToCollectionCommand' in transaction merger which could result in not deleting relevant documents
  • [Indexing] fixed issue with calculating hash incorrectly for double values in map-reduce indexes causing increased number of hash collisions to handle
  • [Indexing] expose batch complete reason in the indexing performance stats for Cleanup & References
  • [Querying] fixed issue with calculating total number of results when using collection query on a non-existent property
  • [Querying] properly handling NULL_VALUE when sorting alphanumerically
  • [Querying] added the ability to do JavaScript projection of Time Series values
  • [Replication] fixed issue with calculating properly HasRevisions flag when replicating document delete
  • [Replication] revision configuration should create revision bin for documents deleted by replication
  • [Replication] expose incoming replication stats from external replication to the Ongoing Tasks View
  • [Time Series] decrease CPU usage during streaming of large time series
  • [Transactions] fixed issue with re-running some of the commands when merging fails and they need to be executed once again one by one
  • [Voron] using 'mmap' instead of 'posix_memalign' when allocating 4KB aligned memory for encryption buffers to avoid memory fragmentation
  • [.NET] updated to .NET 5.0.13

Client API

  • [Querying] throw when whole entity instance is compared inside conditional statement
  • [Querying] support for using select after select (will be handled same as 'let')
  • [Querying] caching index metadata to increase query building process performance
  • [Querying] caching query parameter names to increase query build process performance

Other

  • [Docker] added the ability to override server URL via RAVEN_ServerUrl environment variable