Install & Run: http://docs.vaticle.com/docs/running-typedb/install-and-run
New Features
Bugs Fixed
- Fix importing of attribute ownerships during migration
The data importer (part of TypeDB's export/import functionality) correctly includes attribute ownerships on nested relations. Nested/codependent relations are imported in one batch at the end of a data import. It appears we we previously forgot to include attribute ownerships on these nested relations.
- Fix iterators to recycle sub-iterators correctly
All TypeDB iterators (FunctionalIterators
) correctly release resources when asked to recycle()
, allowing things like RocksDB iterators to be reused and preventing a memory leak. We discover and fix two remaining places where iterators were not releasing resources correctly: FlatMapped
and GraphIterator
.
Code Refactors
- Rearchitect Server parameters implementation
The architecture of the server parameters implementation maps to the conceptual model more closely. This is achieved by first identifying the main types of parameters (namely CLI subcommands, CLI options, and TypeDB config) and dividing the classes according to them.
Additionally, for each aspect above, the domain-agnostic values and parsers are separated from the domain-specific ones. This puts the focus on the "what" (ie., what parameters are we declaring), rather than the "how" (ie., how exactly are we declaring a particular parameter).
Last but not least, the typedb.yml
configuration file has been renamed to config.yml
.
Other Improvements
-
Bump VERSION to 2.6.3
-
Downgrade RocksDB to 6.20.3
We find a performance regression in the background attribute count job of approximately an order of magnitude, which we isolate to be caused by upgrading RocksDB past version 6.20.3. The impact of this on TypeDB 2.6.0 - 2.6.2 was that loading large amounts of data could cause attribute statistics to lag massively, causing query planning to perform poorly.