Room State Management #44
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: projectmoon/tenebrous-dicebot#44
Loading…
Reference in New Issue
No description provided.
Delete Branch "room-state-management"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Design Document: https://git.agnos.is/projectmoon/matrix-dicebot/wiki/Feature%3A-Room-State-Management
Issue: projectmoon/matrix-dicebot#20
When the design document is fulfilled and all issues checked off, then this can be merged.
Room State Managementto WIP:Room State ManagementAs of this writing, there are two missing pieces of functionality before merging:
@ -0,0 +61,4 @@
/// HashSets as its values. Atomicity is partially handled. If the
/// Tree is a transactional tree, operations will be atomic.
/// Otherwise, there is a potential non-atomic step.
mod hashset_tree {
Perhaps move this and
TxableTree
into a common part of the database code. Maybe also convert it to a trait. The atomicity issues withTree
instances also should be addressed. Usefetch_and_update
when it's a regular Tree, and the existing code if it's aTransactionalTree
(since the atomicity is controlled by the transaction).Deferring to a future changeset.
@ -0,0 +115,4 @@
}
/// Functions that specifically relate to the "timestamp index" tree,
/// which is stored on the Room sinstance as a tree called
Typo:
sintance
.WIP:Room State Managementto Room State ManagementDeferring the atomicity changes and recording of room info to future pull requests.
af197dd58f
to0e04e67f6e