Feature/index rebuild from last #220
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix for v1.x branch.
This addresses an indexing issue where serialzation of an index leaf's history will throw an exception because the
:flakesvalue isnil.This situation only happens if an index leaf is full of predicates dedicated with no history, in which case there will not be any history flakes on that node. The fix will ensure an empty vector is at least present on the history leaf in that situation.
This also adds an immense amount of logging for index serialization issues. Because there can be 10s of thousands of index nodes, an error without context of where it happened is not useful. If this sort of error happens again, which it shouldn't, a ton of information will be logged out that could allow diagnosis of the problem.
This also adds a remote REPL option to ./fluree_start.sh to assist in remote debugging if needed.