fluree / db

Fluree database library
https://fluree.github.io/db/
Other
330 stars 21 forks source link

Fix/db sid load #772

Closed bplatz closed 1 month ago

bplatz commented 1 month ago

When generating commit metadata flakes, the db-id was trying to use the db's alias instead of the @id of the data file in the commit in two of the three places it is used.

This resulted in nil sids, and while it could load in simple dbs, once indexed we'd start getting errors.

This uses @id instead of alias and all three locations are consistent.

Also made change to log out merge flake exceptions, even if verbose. This is a place many nil flake issues are caught as it throws when trying to create a db 'size' calc on nil

bplatz commented 1 month ago

This was approved by @zonotope in PR # 771 (where this branch was merged into that branch)