Skip to content

Truncate fields too large for indexes. #80

@malcyL

Description

@malcyL

The following error occurred when generating a table row for a field containing a long string:

Exception MongoCursorException
Error
insertDocument :: caused by :: 17280 Btree::insert: key too large to index, failing kent.table_rows.$value_title_1 1085 { : "..." } 

Tripod should check the length of fields being inserted and truncate where necessary.

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