Skip to content

Replace data_source table key with hash key #46

@cbogart

Description

@cbogart

Data source implementation currently requires a full search of the data source table linked with every content table in order to add an item without risking duplication. Instead of a sequential reference ot the data_source table, use a 128- or 256-bit SHA-1 as key in each substantive table (i.e. discourse part, content, contribution, annotation, user, etc), so that a simple upsert can be done on new data without checking if the data source entry exists already for every kind of entity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions