What's new

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

5.2.4 (52016) - 2021/11/15

Server

  • [Backup] do not cancel running backup even if task was moved to another node
  • [Backup] fixed issue with restoring Snapshot backup when compare exchange values exist
  • [Cluster] fixed issue with Cluster might accepting commands from higher version than the current one when doing mixed version clusters
  • [Cluster] properly snapshot compare exchange with expiration
  • [Counters] remove leading whitespace from Counter Values Change Vector
  • [Counters] prevent from generating invalid Change Vector that starts with comma
  • [ETL] properly validate if number of transform scripts is greater than 0
  • [ETL] properly handling casing mismatch between table name and table definition
  • [ETL] state should be tracked per database ID instead of node tag to avoid progress miscalculations when node is being removed and re-added
  • [ETL] allow to pass SQL table name with a schema in the script
  • [Import] handle compare exchange values incrementally when doing an import from v4.x
  • [Import] properly handle revisions when doing an import with time series
  • [Indexes] validate if index was created using our database and not copied from a different one
  • [Indexes] properly handle cancellation when doing flush and sync to avoid generating index error
  • [Indexes] fixed issue with throttled indexes getting stuck sometimes
  • [Indexes] added the ability to turn off the size limit check when requesting for index entries
  • [Monitoring] exposed MemInfo (linux) to SNMP
  • [Monitoring] exposed number of faulted databases to SNMP
  • [Querying] fixed issue with collection size limitation when using 'Not In' clause and the possibility to return invalid results
  • [Querying] properly handle NULL_VALUE when using alphanumeric sorting
  • [Replication] do not stop replication when replicating a document with a changed collection and there is a conflict already
  • [Replication] properly handling Tombstones for legacy 3.x replication
  • [Replication] properly setting HasAttachment, HasCounters flag in reverted revision documents
  • [Replication] fixed issue with negotiating replication protocol version
  • [Transactions] properly handling Change Vector when TxMerger executes transactions one by one to avoid returning invalid Change Vector
  • [TCP] properly dispose Ping connections to avoid having a lot of CLOSED_WAIT sockets
  • [Voron] fixed invalid handling of journals created based on recyclable ones during the storage recovery on startup
  • [Voron] fixed 'Collection was modified; enumeration operation may not execute.' when generating a storage report
  • [.NET] updated to .NET Core 5.0.12

Client API

  • [Document Store] exposed 'HiLoIdGenerator'
  • [Session] support for selecting metadata in single call expressions
  • [Session] support for nested projections when using LINQ
  • [Operations] fixed issue with using TypeNameHandling.None by user and deserialization of Operations
  • [Operations] fixed issue with contacting server when using server-wide operations and node is a watcher

Studio

  • [Admin Logs] clearing admin logs when they are paused should not start them
  • [Compare Exchange] display Raft Index
  • [Licenses] display connectivity to api.ravendb.net
  • [Licenses] show force update license on all license types
  • [Notifications] added total documents size for page size is too big performance hint
  • [OLAP ETL] fixed issue with opening Test Area
  • [Patching] provide number of affected documents before executing patch
  • [Querying] fixed issue with providing query parameters as inline JSON
  • [Threads] added the ability to view a stack trace of a single thread
  • [Threads] added the ability to filter by thread Id