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

Don't handle log storage append errors #1168

Merged
2 commits merged into from
Apr 29, 2024
Merged

Conversation

korthout
Copy link
Member

@korthout korthout commented Apr 29, 2024

Description

This PR helps resolve a compile error in ZPT when building against Zeebe 8.6.0-SNAPSHOT.

To do so, it:

  • bumps the zeebe version to 8.6.0-SNAPSHOT (this is automatically adjusted by the release)
  • removes the error handling in the InMemoryLogStorage's append method (this is no longer necessary)

Related issues

closes #1166

Definition of Done

Not all items need to be done depending on the issue and the pull request.

Code changes:

  • The changes are backwards compatibility with previous versions
  • If it fixes a bug then PRs are created to backport the fix

Testing:

  • There are unit/integration tests that verify all acceptance criterias of the issue
  • New tests are written to ensure backwards compatibility with further versions
  • The behavior is tested manually

Documentation:

  • Javadoc has been written
  • The documentation is updated

We typically build ZPT against the latest Zeebe changes. This is
automatically adjusted on release.
The log storage in Zeebe no longer deals with errors explicitly. So, ZPT
also doesn't have to.

See: camunda/camunda@07da250
@korthout korthout requested a review from lenaschoenburg April 29, 2024 09:51
Copy link

Test Results

 50 files  ±0   50 suites  ±0   1m 29s ⏱️ ±0s
138 tests ±0  138 ✅ ±0  0 💤 ±0  0 ❌ ±0 
438 runs  ±0  438 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 9784945. ± Comparison against base commit 14b62bb.

Copy link
Member

@lenaschoenburg lenaschoenburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@korthout
Copy link
Member Author

bors merge

ghost pushed a commit that referenced this pull request Apr 29, 2024
1168: Don't handle log storage append errors r=korthout a=korthout

## Description

<!-- Please explain the changes you made here. -->

This PR helps resolve a compile error in ZPT when building against Zeebe 8.6.0-SNAPSHOT.

To do so, it:
- bumps the zeebe version to `8.6.0-SNAPSHOT` (this is automatically adjusted by the release)
- removes the error handling in the InMemoryLogStorage's append method (this is no longer necessary)

## Related issues

<!-- Which issues are closed by this PR or are related -->

closes #1166 

<!-- Cut-off marker
_All lines under and including the cut-off marker will be removed from the merge commit message_

## Definition of Ready

Please check the items that apply, before requesting a review.

You can find more details about these items in our wiki page about [Pull Requests and Code Reviews](https://github.com/camunda/zeebe/wiki/Pull-Requests-and-Code-Reviews).

* [ ] I've reviewed my own code
* [ ] I've written a clear changelist description
* [ ] I've narrowly scoped my changes
* [ ] I've separated structural from behavioural changes
-->

## Definition of Done

<!-- Please check the items that apply, before merging or (if possible) before requesting a review. -->

_Not all items need to be done depending on the issue and the pull request._

Code changes:
* [x] The changes are backwards compatibility with previous versions
* [ ] If it fixes a bug then PRs are created to backport the fix

Testing:
* [ ] There are unit/integration tests that verify all acceptance criterias of the issue
* [ ] New tests are written to ensure backwards compatibility with further versions
* [ ] The behavior is tested manually

Documentation:
* [ ] Javadoc has been written
* [ ] The documentation is updated


Co-authored-by: Nico Korthout <nico.korthout@camunda.com>
@ghost
Copy link

ghost commented Apr 29, 2024

Build failed:

@korthout
Copy link
Member Author

bors retry

ghost pushed a commit that referenced this pull request Apr 29, 2024
1168: Don't handle log storage append errors r=korthout a=korthout

## Description

<!-- Please explain the changes you made here. -->

This PR helps resolve a compile error in ZPT when building against Zeebe 8.6.0-SNAPSHOT.

To do so, it:
- bumps the zeebe version to `8.6.0-SNAPSHOT` (this is automatically adjusted by the release)
- removes the error handling in the InMemoryLogStorage's append method (this is no longer necessary)

## Related issues

<!-- Which issues are closed by this PR or are related -->

closes #1166 

<!-- Cut-off marker
_All lines under and including the cut-off marker will be removed from the merge commit message_

## Definition of Ready

Please check the items that apply, before requesting a review.

You can find more details about these items in our wiki page about [Pull Requests and Code Reviews](https://github.com/camunda/zeebe/wiki/Pull-Requests-and-Code-Reviews).

* [ ] I've reviewed my own code
* [ ] I've written a clear changelist description
* [ ] I've narrowly scoped my changes
* [ ] I've separated structural from behavioural changes
-->

## Definition of Done

<!-- Please check the items that apply, before merging or (if possible) before requesting a review. -->

_Not all items need to be done depending on the issue and the pull request._

Code changes:
* [x] The changes are backwards compatibility with previous versions
* [ ] If it fixes a bug then PRs are created to backport the fix

Testing:
* [ ] There are unit/integration tests that verify all acceptance criterias of the issue
* [ ] New tests are written to ensure backwards compatibility with further versions
* [ ] The behavior is tested manually

Documentation:
* [ ] Javadoc has been written
* [ ] The documentation is updated


Co-authored-by: Nico Korthout <nico.korthout@camunda.com>
@ghost
Copy link

ghost commented Apr 29, 2024

Build failed:

@korthout
Copy link
Member Author

Seems to fail flaky on:

However, I don't want to reopen it because the log files are missing. There's nothing that would help resolve that issue now. The last time it was closed after adding more logs. So I'm just gonna retry again.

bors retry

@ghost
Copy link

ghost commented Apr 29, 2024

Build succeeded:

@ghost ghost merged commit 51005b1 into main Apr 29, 2024
11 checks passed
@ghost ghost deleted the korthout-1166-logstorage-write-error branch April 29, 2024 15:30
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build fails against Zeebe SNAPSHOT
2 participants