Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for empty transactions + Some read benchmarks #108

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

halgari
Copy link
Contributor

@halgari halgari commented Oct 24, 2024

Fixes the dead UI bug we had issues with

…ow we no longer advance the TxId if no datoms were inserted as part of the tx.

Also includes some read benchmarks I was working on
@@ -308,7 +309,7 @@ private StoreResult Log(IInternalTxFunctionImpl pendingTransaction)

return new StoreResult
{
AssignedTxId = _thisTx,
AssignedTxId = _asOfTx,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the source of the bug, when we had an empty transaction (and we do anytime we reboot the app and the schema doesn't update), then we were incrementing the TxId. The internal functions increment the _asOfTx so we no longer need to use _thisTx.

@halgari halgari merged commit 24d83aa into main Oct 24, 2024
4 checks passed
@halgari halgari deleted the better-benchmarks-and-fix-for-empty-tx branch October 24, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants