Skip to content

OrientDB 3.2 Release Notes

tglman edited this page Dec 2, 2022 · 43 revisions

Table of Contents

  • 3.2.13 - 1 December 2022
  • 3.2.12 - 10 November 2022
  • 3.2.11 - 19 October 2022
  • 3.2.10 - 15 September 2022
  • 3.2.9 - 11 August 2022
  • 3.2.8 - 26 June 2022
  • 3.2.7 - 8 June 2022
  • 3.2.6 - 28 April 2022
  • 3.2.5 - 14 February 2022
  • 3.2.4 - 28 December 2021
  • 3.2.3 - 16 November 2021
  • 3.2.2 - 21 September 2021
  • 3.2.1 - 8 September 2021
  • 3.2.0 - 29 April 2021

3.2.13 - 1 December 2022

Core

  • Make sure to use high level transactions in all index change cases
  • Made index rebuild batch changes in transaction
  • Fix view unlocking in case of refresh error
  • Optimized update of vertices that use ridbag trees
  • Fix regression on OResult hash code, issue #9900
  • Ignore index corrupted errors on drop
  • Batched view refreshing in transaction
  • Optimized of usage of read/write lock in storage
  • Fix check of index type also on chained indexes
  • Reduced usage of modifiable schema to reduce contention on read/write lock
  • Fix waiting for last task in ViewManager close
  • Fix running of ddl while incremental backup is running do not block anymore other write operations.
  • Fix invalid cluster id do not make storage readonly

Distributed

  • Fix in handling of node missing on refresh

3.2.12 - 10 November 2022

Changes

Core

  • Add timeout check in next query page fetching
  • Updated dependencies
  • Optimized Security Policies checks
  • Optimized query engine property fetching and filtering
  • Removed not used anymore dependencies
  • Fix in truncate clusters logic
  • Improved string caching logic
  • Made the direct memory pointer soft reference to retain it and reduce the allocation overhead
  • Add a correct error message when opening a not existing database in a in memory context
  • Fix regression in sql function execution after refactor, issue #9888
  • Optimization in storage record reading
  • Fix OClass.setCustom() in ditributed setup

Console

  • Fix regression database creation, issue #9889

Enterprise

  • Limited the maximum number of metrics kept in memory
  • Made query statements metrics ognostic of values

3.2.11 - 19 October 2022

Changes

Core

  • Use correct configuration to run javascript functions on truffle script engine of graal
  • Minimize duplicate logic in index searching for query engine
  • Add caching of graal Context with relative database functions
  • Reduced allocations in query engine
  • Add possibility to unload cached information for specific script executor
  • Optimized the cluster computation in query engine
  • Disabled the sharding check logic for distributed
  • Removed dependencies not used anymore
  • Correct query interrupt based on command timeout configuration
  • Minor updates of dependencies

3.2.10 - 15 September 2022

Changes

Core

  • Make put of index everytime transactional
  • Converted all left put operations to use transaction directly
  • Fix logging of log messages with exceptions
  • Refactor for simplify index creation logic
  • Optimization in index write logic
  • Optimization in ridbag write logic
  • Optimization in page write logic
  • Optimization in script pool
  • Disabled write operations without atomic operation
  • Fixes in Json parsing
  • Re-enabled computation of record sizes for cluster issue #9870
  • Replaced custom lock implementation with jdk implementation
  • Avoid to read null values from json for ridbags

Client

  • Automatically start a transaction in the client side if a script started it server side

Lucene

  • Correct lucene remove after transactional index operations refactor
  • Make sure rebuild of lucene works after refactor

Distributed

  • Fix copyStream to not terminate on 0 byte read
  • Mark HA STATUS idempotent so it can be used from SQL API.
  • Include individual DB status across cluster in HA STATUS result
  • Add exception details to some logging that lost stack traces.

3.2.9 - 11 August 2022

Changes

Core

  • Make sure to drop the database also when drop listeners fail
  • Improve thread pool executors to scale up and down properly
  • Make sure to release lock on close of failed storage
  • Removed background thread to mark storage broken not needed anymore
  • Add missing file extension from list of database files extensions to allow proper cleanup on delete
  • Remove no needed refresh of immutable metadata during index metadata load
  • Avoid that wrong validation value make a database read only
  • Corrected regression on btree v3 value replace
  • Refactor to simplify index v3 logic
  • Prevent Live Query thread hot looping on idle queue.

Distributed

  • Improved distributed hosts change notification after client optimization

Remote

  • Release session lock in any case of error

ETL

  • Make sure to close context on process shutdown

3.2.8 - 26 June 2022

Changes

Core

  • avoid to make the storage read only in case of error in record serialization
  • correct iterable value set during update operations issue #9781
  • avoid to put storage in read only in case of errors during read operations
  • fixed multivalue composite index queries to not return duplicates
  • correct indexes rebalancing causing error on delete operations

Console

  • local creation of a database in plocal with console old command will create a admin user

Distributed

  • unblock distributed request handling in case of install error, issue #9815
  • Cap string length in binary channels

Lucene

  • Support parameterised metadata in Lucene queries
  • make sure that lucene parsing exception do not set the storage in read only mode, issue #9498
  • Fix the locking in the Lucene indexer

3.2.7 - 8 June 2022

Changes

Core

  • fixed delete of lucene indexes
  • make sure to do a clean metadata re-init after incremental backup database restore
  • handle thread interruption while data read and write with correct exception
  • Speed up of record updates.
  • remove edges with in or out null during bonsai repair,issue #9806
  • minor correction in composite index creation query

Distributed

  • cloned distributed lock keys that may contain a record id for avoid mutation
  • properly handle database instance used by lucene indexes while distributed sync
  • Install ShutdownLogManager in distributed mode

3.2.6 - 28 April 2022

Changes

Core

  • LSN of latest applied record returned during restore
  • Binary compatibility issue was fixed
  • Update jackson dependency to the latest release
  • Disabled memory pre-allocation by default
  • Ported fix for shortest path, issue #9774
  • Minor update of dependency version
  • Storage state lock was replaced by standard JDK lock

Distributed

  • Minor fix for distributed on deploy database backup in case of source folder and dest folder in different volumes
  • Fixes on network layer between nodes

3.2.5 - 14 February 2022

Changes

Core

  • Restore flag is triggered once physical restore is started.
  • Tracking of consistency of atomic operation on restore was added.
  • If Unsafe is present it is used for memory allocation/de-allocation.
  • Fix toJson() with spaces in map key names.
  • Prevention of recursive flow of exception is case of internal error.
  • DWL files do not trigger errors during the database backup.
  • Fix ORDER BY with LET

Distributed

  • Minor fix in distributed stat collecting logic
  • Check to avoid distributed backup path to be in the same location of databases
  • Minor refactor to avoid to do version promises for not changed records

3.2.4 - 28 December 2021

Changes

Core

  • Fix of bug when removal of entry from the BTree causing damage of the tree structure.
  • add some methods in internal database API for avoid to use storage interface
  • reduce use of direct storage API where is not needed
  • Remove Log4J testing dependencies
  • Fix npe on traversal of graph

Client

  • refactor: remove of last few usages of storage for client use cases
  • separated the logic for remote ridbag management from the embeded one
  • cleanup of not needed methods in remote index manager
  • completely split the index remote and embedded logic
  • minor refactor in remote storage to remove dependency to core components

Distributed

  • removed additional code in distributed module not used anymore
  • add reset of previous sync backup on ddl execution
  • minor fix ddls
  • enabled two phase ddl with retry
  • add tests for new ddl messages serialization and execution
  • first definition of coordination of ddls
  • first definition of new ddl messages for distributed ddls
  • made distributed unit tests more reliable
  • re-enabled distributed in github actions
  • add method for only log distributed sequential
  • removed old delta sync implementation not used anymore
  • minor fix in distributed transaction data test
  • minor fix in transaction data test
  • minor fix in the distributed sequence manager
  • Fix NPE on network reconnect

3.2.3 - 16 November 2021

Changes

Core

  • start implementing support for Java 17
  • made sure that the client network deserializer is used in most of the places
  • merged Basic Transaction interface in Transation interface
  • minor refactor to remove all storage usages from abstract database
  • Fix of IT tests, to make them work under Java 17
  • Import - Fix RID conversion in list of embedded objects
  • Fix illegal memory access in Unsafe byte array comparator
  • All threads given a name and default exception handler
  • add method in local cache to clear referred record instances
  • add property for generate and hold database instance id
  • Fix DB backup UUID checks
  • removed redundant cache clear from rollback operations
  • minor refactor to avoid cache clear on rollback
  • Reduce log level on JSON serializer
  • updated icu dependency to keep only one dependency jar in the final package
  • removed cleanup of locks on shutdown from HZ lock manager, try finally should already cover all cases
  • minor fix to avoid a storage to go to read only if the backup fail
  • update fix to avoid deadlock, to avoid the start to block
  • minor fix in the loop resolution of temporary ids
  • minor fix in storage validation logic
  • minor fix on server startup logic

SQL

  • Fix corner cases of LET expression evaluation with $current
  • Add new interfacte for live query batch. Optimise live query execution in remote (Send results in batches)

Distributed

  • refactor of distributed drop to move distributed drop logic outside the listener and in the distributed context
  • fix drop in case of distriubed environment with distributed disabled
  • fixed reconnect of distributed to reduce session and delay on error
  • add quorum in error message for not enough nodes online
  • removed quorum all for index changes
  • additional cleanups in case of full sync failure
  • refactor distributed startup to avoid to deadlock on remote databases install
  • minor fix on record id reset in case of distributed concurrent creation
  • minor fix on sync backup reset

ETL

  • Fix ETL execution with LINK transformers

3.2.2 - 21 September 2021

Changes

Core

  • Fix management of predicate security on DELETE
  • Minor performance fix in listing on databases during subscribe on push notifications
  • Minor fix in server users password reading
  • Automatic renew token in distributed channel when close to expire
  • Import: removed unused v3 approach and started using parser for brokenrids
  • Fix Studio login

Distributed

  • Removed distributed logging not needed anymore

3.2.1 - 8 September 2021

Changes

Core

  • Fix Nashorn js execution
  • Force Nashorn usage when GraalVM is disabled by config
  • Many fixes to database import/export
  • Refactor transaction index changes
  • Reload schema after incremental restore
  • Optimise predicate security checks on property validation
  • Allow concurrent access to active queries stats
  • Optimise OTxIndexChangesList and enable it for index tx management
  • Allow binary connections without session token (disabled by default)
  • Add security check on cached sequences
  • Optimise record save
  • Replaced micro tx with transaction in embedded noTx operations
  • Removed micro transaction implementation not needed anymore
  • Optimise views management
  • Fix index space consumption
  • Fix security checks on Class in remote
  • Check that prevents restore of database in another version after crash was introduced
  • Allow choice of storage cluster version via global config
  • Fix StackOverflow error when adding the owner document to OTracked
  • Fix OClassRemote.hashCode()
  • Maximum allowed size of WAL segment has been increased.
  • Fix issues #9658 #9562

SQL

  • Fix ORDER BY with big LIMIT
  • Implement DROP CLASS with parameter
  • Enhance live queries to allow projections
  • Implement exclude projections in SELECT
  • Fix management of embedded objects on Live Query DELETE
  • Fix UPDATE UPSERT with cluster as target
  • Implement support for index chains in SQL with CONTAINSANY

HTTP

  • Add Secure header to session cookie

3.2.0 - 29 April 2021

Changes

See What's New

Clone this wiki locally