agentm / project-m36

Project: M36 Relational Algebra Engine
The Unlicense
876 stars 47 forks source link

MerkleValidationError after commit notify #362

Closed YuMingLiao closed 6 months ago

YuMingLiao commented 6 months ago
[root@nixos:~/TwitterClone/src]# tutd -d testdb
Warning: Haskell scripting disabled: ScriptSessionLoadError <command line>: cannot satisfy -trust project-m36
    (use -v for more information)
Project:M36 TutorialD Interpreter 0.9.5
Type ":help" for more information.
A full tutorial is available at:
https://github.com/agentm/project-m36/blob/master/docs/tutd_tutorial.markdown
TutorialD (master/main): 
TutorialD (master/main): a := true
TutorialD (master/main): notify a a a a
TutorialD (master/main): :commit
TutorialD (master/main): :quit
Goodbye.

[root@nixos:~/TwitterClone/src]# tutd -d testdb
Warning: Haskell scripting disabled: ScriptSessionLoadError <command line>: cannot satisfy -trust project-m36
    (use -v for more information)
Failed to create database connection: DatabaseValidationError [MerkleValidationError 42986014-4789-410e-a194-efc514ea4a38 (MerkleHash {_unMerkleHash = "\232\203\&4\247\199\177\241ez!t\"L\217,\161\154&\151\173\157#(\150`r\DLE\161\169u\"h"}) (MerkleHash {_unMerkleHash = "\131?\141\235D\190\140_Ut@\194d\217\162\139\172!\ENQ\201\191SO\205\159\242\US\223I\212\199o"})]
agentm commented 6 months ago

Sorry about this- it looks like the notifications are always read back from disk as empty. Will fix.

agentm commented 6 months ago

Fixed in a659f31fc09b244c640002808969d6982135a732.

YuMingLiao commented 5 months ago

Tested and working. Thx!