Skip to content

Conversation

@Gozala
Copy link
Contributor

@Gozala Gozala commented Jun 23, 2025

Summary by cubic

Added support for cross-space transactions in the storage interface, allowing transactions to read from multiple memory spaces and write to one.

  • New Features
    • Introduced reader and writer methods for accessing different memory spaces within a transaction.
    • Added error types for transaction isolation and consistency across spaces.

}
export interface INotFoundError extends Error {}
export type IStorageTransactionProgress = Variant<{
open: IStorageTransactionLog;
Copy link
Contributor

Choose a reason for hiding this comment

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

clarification: to entries move from open to pending to done?

if i want to know all, no matter the status (as scheduler needs it), should it iterate over all of them? who else is going to call this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Idea has being that they all contain same transaction log, it's just transaction itself is either open, pending or done. In the implementation I renamed open to edit to make it more clear that transaction is editable while when pending or done it's no longer editable.

@Gozala Gozala merged commit 965c8c5 into main Jun 25, 2025
7 checks passed
@Gozala Gozala deleted the feat/transaction-reader-writer branch June 25, 2025 21:59
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.

3 participants