Skip to content

PersistenceException: TypeId conflict for 1 byte on AWS S3 (and nowhere else) #529

@dbucek

Description

@dbucek

Environment Details

  • EclipseStore Version: 3.1.0
  • JDK version: 21.0.9
  • OS: Docker, eclipse-temurin-21-alpine
  • Used frameworks: Spring Boot 4.0.0

Describe the bug

Application run inside on AWS EC2 and EclipseStore in AWS S3. When I run it for the first time it creates 95 PersistentTypeDictionary.[0-94] (see screenshot). So, far application works fine. BUT when I restart it (or stop and start again) it immediatelly throw PersistenceException: TypeId conflict for 1 byte.

But it's completely fine on local deployment. Even when I directly connect to the same AWS S3. It works good even I try to run Docker locally and connect to AWS S3. What is more strange if the first initialization is done by local or local docker everything works fine and it contains only one PersistentTypeDictionary.0 file.

aws-docker-exception.log

To Reproduce

Hard to say how to reproduce on different environment. On my environment it happens always.

Expected behavior

Just start up and works as usual.

Screenshots

Image

Additional context

Nothing else on my mind yet :-(

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