Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
As part of the Multiversion module in Contrib we have a sequence index. This index is incremented every time an entity is created or updated. It allows us to know what has changed between two points in the sequence. This is a must when performing a replication of content between two sites, or between workspaces on a single site.
Proposed resolution
Add a sequence index (this is in key value for Multiversion, but we could do it as a custom table).
Update the index every time content entities are created or updated.
Comments
Comment #2
timmillwoodComment #3
timmillwoodAfter speaking to @dixon_ it looks as though the sequence index might be better added directly to the workspace module.
#2784921: Add Workspaces experimental module
Comment #4
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedThat means we can close this issue, right?
Comment #5
timmillwoodYes, this can be closed, the sequence index will be in workspace module, and this will use the sorted set key value store. #2831428: Introduce sorted set key value store
Comment #6
amateescu CreditAttribution: amateescu for Pfizer, Inc. commented