Skip to content

akka-persistence-tck does not check bigger blobs of size more than 4k. #21704

@skisel

Description

@skisel

I found an issue using akka-persistence-jdbc library: akka/akka-persistence-jdbc#77

The main problem is that slick does not properly handle update of the blob in the snapshot if the size of the blob exceeds 4k bytes.

I've added the test case which failed with the current version of akka-persistence-jdbc:
https://github.com/skisel/akka-persistence-jdbc/blob/cb019c4d2d9d54f2eb72197ceded738cc91a4bce/src/test/scala/akka/persistence/jdbc/snapshot/BigBlobSnapshotStoreSpec.scala

I think it makes sense to port it to akka.persistence.snapshot.SnapshotStoreSpec as a test case to check if plugin correctly handles a bigger snapshots.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions