Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnsupportedOperationException: null on GcsBackupStore.closeAsync #12124

Closed
korthout opened this issue Mar 23, 2023 · 1 comment
Closed

UnsupportedOperationException: null on GcsBackupStore.closeAsync #12124

korthout opened this issue Mar 23, 2023 · 1 comment
Labels
kind/bug Categorizes an issue or PR as a bug version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0

Comments

@korthout
Copy link
Member

Describe the bug

An error was reported on development-worker-1:

message: "Failed to install partition 1"
  java.lang.UnsupportedOperationException: null
  io.camunda.zeebe.backup.gcs.GcsBackupStore.closeAsync
  io.camunda.zeebe.broker.system.partitions.impl.steps.BackupStoreTransitionStep.prepareTransition
  io.camunda.zeebe.broker.system.partitions.impl.PartitionTransitionProcess.lambda$proceedWithPrepare

I don't think this is an actual bug, but I wanted to report it to make sure as we are getting close to releasing 8.2 and this happened on 8.2.0-alpha5.

This happened around the same time as #12123 and is likely related.

To Reproduce

Unsure, it was reported by google error reporting.

Expected behavior

Log/Stacktrace

Full Stacktrace

java.lang.UnsupportedOperationException: null

at io.camunda.zeebe.backup.gcs.GcsBackupStore.closeAsync ( [io/camunda.zeebe.backup.gcs/GcsBackupStore.java:144](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fcamunda.zeebe.backup.gcs%2FGcsBackupStore.java&line=144&project=camunda-cloud-240911) )
at io.camunda.zeebe.broker.system.partitions.impl.steps.BackupStoreTransitionStep.prepareTransition ( [io/camunda.zeebe.broker.system.partitions.impl.steps/BackupStoreTransitionStep.java:31](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fcamunda.zeebe.broker.system.partitions.impl.steps%2FBackupStoreTransitionStep.java&line=31&project=camunda-cloud-240911) )
at io.camunda.zeebe.broker.system.partitions.impl.PartitionTransitionProcess.lambda$proceedWithPrepare$3 ( [io/camunda.zeebe.broker.system.partitions.impl/PartitionTransitionProcess.java:133](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fcamunda.zeebe.broker.system.partitions.impl%2FPartitionTransitionProcess.java&line=133&project=camunda-cloud-240911) )
at io.camunda.zeebe.scheduler.ActorJob.invoke ( [io/camunda.zeebe.scheduler/ActorJob.java:92](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fcamunda.zeebe.scheduler%2FActorJob.java&line=92&project=camunda-cloud-240911) )
at io.camunda.zeebe.scheduler.ActorJob.execute ( [io/camunda.zeebe.scheduler/ActorJob.java:45](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fcamunda.zeebe.scheduler%2FActorJob.java&line=45&project=camunda-cloud-240911) )
at io.camunda.zeebe.scheduler.ActorTask.execute ( [io/camunda.zeebe.scheduler/ActorTask.java:119](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fcamunda.zeebe.scheduler%2FActorTask.java&line=119&project=camunda-cloud-240911) )
at io.camunda.zeebe.scheduler.ActorThread.executeCurrentTask ( [io/camunda.zeebe.scheduler/ActorThread.java:106](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fcamunda.zeebe.scheduler%2FActorThread.java&line=106&project=camunda-cloud-240911) )
at io.camunda.zeebe.scheduler.ActorThread.doWork ( [io/camunda.zeebe.scheduler/ActorThread.java:87](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fcamunda.zeebe.scheduler%2FActorThread.java&line=87&project=camunda-cloud-240911) )
at io.camunda.zeebe.scheduler.ActorThread.run ( [io/camunda.zeebe.scheduler/ActorThread.java:198](https://console.cloud.google.com/debug?referrer=fromlog&file=io%2Fcamunda.zeebe.scheduler%2FActorThread.java&line=198&project=camunda-cloud-240911) )

Environment:

@korthout korthout added the kind/bug Categorizes an issue or PR as a bug label Mar 23, 2023
ghost pushed a commit that referenced this issue Mar 24, 2023
12126: refactor(backup/gcs): apply suggestions from code review r=oleschoenburg a=oleschoenburg

This applies various review suggestions found in:
- #12068
- #12090
- #12092
- #12109
- #12112
- #12114

Pending review hints:
- [ ] Consider using the actor scheduler #12068 (comment)
- [ ] Reconsider the testkit #12068 (comment)
- [ ] Wrapper method for consistent error handling #12090 (comment)
- [ ] Comment to explain testcontainers hack #12090 (comment)
- [x] Test for `FileSet` #12090 (comment)
- [x] Test for `ManifestManager` #12090 (comment)
- [x] Test for `FileSetManager` #12090 (comment)

closes #12123 #12124


Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
Co-authored-by: Christopher Zell <zelldon91@googlemail.com>
@lenaschoenburg
Copy link
Member

Fixed in #12126

@npepinpe npepinpe added the version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0 label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes an issue or PR as a bug version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0
Projects
None yet
Development

No branches or pull requests

3 participants