Skip to content

Grok wrecked my relatively simple FASTER DB project - I can't solve it - please help #939

Closed Answered by TechnikEmpire
user29A asked this question in Q&A
Discussion options

You must be logged in to vote
  1. You're configuring two different LogSettings - just use one or the other.
  2. You're expecting two different files (due to point 1)
  3. You're using SimpleFunctions for raw (I think var-length) bytes. SimpleFunctions are basic, "empty" functions. You need to use one of the functions for your type. That will either be MemoryFunctions or SpanByteFunctions. SpanByteFunctions will expect you to pin your memory, so you should probably use MemoryFunctions.
  4. You're manually invoking Recover instead of passing tryRecoverLatest : true in the ctor of the store. Just let FASTER figure out recovery by passing this.
  5. Every time I've pulled my hair out with recovery issues, it was a problem with how my keys wer…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by user29A
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants