-
Notifications
You must be signed in to change notification settings - Fork 556
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
I can set a retry timeout for failed tasks #164
Comments
1677: chore(deps): bump chronicle-map from 3.16.4 to 3.17.0 r=menski a=dependabot[bot] Bumps [chronicle-map](https://github.com/OpenHFT/Chronicle-Map) from 3.16.4 to 3.17.0. <details> <summary>Release notes</summary> *Sourced from [chronicle-map's releases](https://github.com/OpenHFT/Chronicle-Map/releases).* > ## chronicle-map-3.17.0 > - [**closed**] Fixed net.openhft.chronicle.map.MissSizedMapsTest [#166](https://github-redirect.dependabot.com/OpenHFT/Chronicle-Map/issues/166) > - [**invalid**][**wontfix**] ConcurrentModificationException: Context shouldn't be ac cessed from multiple threads [#165](https://github-redirect.dependabot.com/OpenHFT/Chronicle-Map/issues/165) > - [**closed**] Create JLBH test for Map [#164](https://github-redirect.dependabot.com/OpenHFT/Chronicle-Map/issues/164) > - [**closed**] OpenJDK 10 - compatibility issue [#155](https://github-redirect.dependabot.com/OpenHFT/Chronicle-Map/issues/155) > - [**wontfix**] MemoryLeaksTest fails on windows team city agent [#140](https://github-redirect.dependabot.com/OpenHFT/Chronicle-Map/issues/140) </details> <details> <summary>Commits</summary> - [`dcf124e`](OpenHFT/Chronicle-Map@dcf124e) [maven-release-plugin] prepare release chronicle-map-3.17.0 - [`9b9c0c1`](OpenHFT/Chronicle-Map@9b9c0c1) Updating to bom version 2.17.46 - [`3a426ba`](OpenHFT/Chronicle-Map@3a426ba) removed redundant method - [`537366f`](OpenHFT/Chronicle-Map@537366f) updated the version of chronicle-map - [`5cb73e7`](OpenHFT/Chronicle-Map@5cb73e7) fixed set the expected value size - [`dbecb72`](OpenHFT/Chronicle-Map@dbecb72) fixed https://github-redirect.dependabot.com/OpenHFT/Chronicle-Map/issues/166 removed pos+1 - [`79c7701`](OpenHFT/Chronicle-Map@79c7701) fixed https://github-redirect.dependabot.com/OpenHFT/Chronicle-Map/issues/166 `void relocation(Da... - [`0750834`](OpenHFT/Chronicle-Map@0750834) corrected -> return (int) (sizeInBytes / chunkSize) + 1; - [`9a02d8e`](OpenHFT/Chronicle-Map@9a02d8e) change to s.freeExtra(pos+1, entrySizeInChunks, newSizeInChunks); - [`2f6e944`](OpenHFT/Chronicle-Map@2f6e944) added a work around to address -> net.openhft.chronicle.map.MissSizedMapsTest - Additional commits viewable in [compare view](OpenHFT/Chronicle-Map@chronicle-map-3.16.4...chronicle-map-3.17.0) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=net.openhft:chronicle-map&package-manager=maven&previous-version=3.16.4&new-version=3.17.0)](https://dependabot.com/compatibility-score.html?dependency-name=net.openhft:chronicle-map&package-manager=maven&previous-version=3.16.4&new-version=3.17.0) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> Co-authored-by: dependabot[bot] <support@dependabot.com>
1947: chore(deps): bump version.sbe from 1.11.0 to 1.12.0 r=menski a=dependabot[bot] Bumps `version.sbe` from 1.11.0 to 1.12.0. Updates `sbe-tool` from 1.11.0 to 1.12.0 <details> <summary>Release notes</summary> *Sourced from [sbe-tool's releases](https://github.com/real-logic/simple-binary-encoding/releases).* > ## 1.12.0 > * Fixes and improves to CMake build. [PR [#632](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/632)](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/pull/632). > * Add support for getting and setting a `string_view` on char array fields when C++17. [PR [#631](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/631)](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/pull/631). > * Simplify C++ generator and modernise for C++11. [PR [#630](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/630)](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/pull/630). > * Allow other types than `UINT16` for message header fields but issue a warning. [PR [#629](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/629)](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/pull/629). > * Change Golang codecs to no longer assume ordering of fields in group header. [PR [#627](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/627)](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/pull/627). > * Upgrade to Google Test 1.8.0. > * Upgrade to Checkstyle 8.17. > * Upgrade to Agrona 0.9.31. > > Java binaries can be found [here...](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22uk.co.real-logic%22%20sbe) </details> <details> <summary>Commits</summary> - [`4ebb038`](real-logic/simple-binary-encoding@4ebb038) 1.12.0 released. - [`dd2e144`](real-logic/simple-binary-encoding@dd2e144) Update README.md - [`825e0c4`](real-logic/simple-binary-encoding@825e0c4) [C++]: added appropriate length checks to fixed character arrays puts with st... - [`3a018b8`](real-logic/simple-binary-encoding@3a018b8) [Java] Bump version. - [`9d6859b`](real-logic/simple-binary-encoding@9d6859b) [C++] Guard against copying past end of string or view. - [`cf0f51d`](real-logic/simple-binary-encoding@cf0f51d) Merge pull request [#632](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/632) from denizevrenci/cmake - [`1808341`](real-logic/simple-binary-encoding@1808341) Merge pull request [#631](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/631) from ksergey/cpp-simple-type-gen - [`2802536`](real-logic/simple-binary-encoding@2802536) [C++] Make SBE an interface library. - [`cd76a3c`](real-logic/simple-binary-encoding@cd76a3c) [C++] Use target include directories for the sbe library. - [`f5607f3`](real-logic/simple-binary-encoding@f5607f3) [C++] Use target_include_directories instead of global declaration. - Additional commits viewable in [compare view](real-logic/simple-binary-encoding@1.11.0...1.12.0) </details> <br /> Updates `sbe-all` from 1.11.0 to 1.12.0 <details> <summary>Release notes</summary> *Sourced from [sbe-all's releases](https://github.com/real-logic/simple-binary-encoding/releases).* > ## 1.12.0 > * Fixes and improves to CMake build. [PR [#632](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/632)](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/pull/632). > * Add support for getting and setting a `string_view` on char array fields when C++17. [PR [#631](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/631)](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/pull/631). > * Simplify C++ generator and modernise for C++11. [PR [#630](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/630)](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/pull/630). > * Allow other types than `UINT16` for message header fields but issue a warning. [PR [#629](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/629)](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/pull/629). > * Change Golang codecs to no longer assume ordering of fields in group header. [PR [#627](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/627)](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/pull/627). > * Upgrade to Google Test 1.8.0. > * Upgrade to Checkstyle 8.17. > * Upgrade to Agrona 0.9.31. > > Java binaries can be found [here...](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22uk.co.real-logic%22%20sbe) </details> <details> <summary>Commits</summary> - [`4ebb038`](real-logic/simple-binary-encoding@4ebb038) 1.12.0 released. - [`dd2e144`](real-logic/simple-binary-encoding@dd2e144) Update README.md - [`825e0c4`](real-logic/simple-binary-encoding@825e0c4) [C++]: added appropriate length checks to fixed character arrays puts with st... - [`3a018b8`](real-logic/simple-binary-encoding@3a018b8) [Java] Bump version. - [`9d6859b`](real-logic/simple-binary-encoding@9d6859b) [C++] Guard against copying past end of string or view. - [`cf0f51d`](real-logic/simple-binary-encoding@cf0f51d) Merge pull request [#632](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/632) from denizevrenci/cmake - [`1808341`](real-logic/simple-binary-encoding@1808341) Merge pull request [#631](https://github-redirect.dependabot.com/real-logic/simple-binary-encoding/issues/631) from ksergey/cpp-simple-type-gen - [`2802536`](real-logic/simple-binary-encoding@2802536) [C++] Make SBE an interface library. - [`cd76a3c`](real-logic/simple-binary-encoding@cd76a3c) [C++] Use target include directories for the sbe library. - [`f5607f3`](real-logic/simple-binary-encoding@f5607f3) [C++] Use target_include_directories instead of global declaration. - Additional commits viewable in [compare view](real-logic/simple-binary-encoding@1.11.0...1.12.0) </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> 1948: chore(deps): bump agrona from 0.9.30 to 0.9.31 r=menski a=dependabot[bot] Bumps [agrona](https://github.com/real-logic/agrona) from 0.9.30 to 0.9.31. <details> <summary>Release notes</summary> *Sourced from [agrona's releases](https://github.com/real-logic/agrona/releases).* > ## 0.9.31 > * Fix issue with merging properties from files into system properties. [Issue [#164](https://github-redirect.dependabot.com/real-logic/agrona/issues/164)](https://github-redirect.dependabot.com/real-logic/agrona/pull/164). > * Add support for ASCII encoding natural numbers into direct buffers. [PR [#163](https://github-redirect.dependabot.com/real-logic/agrona/issues/163)](https://github-redirect.dependabot.com/real-logic/agrona/pull/163). > * Update Javadoc on use of direct buffers to reflect usage from a state perspective. [Issue [#161](https://github-redirect.dependabot.com/real-logic/agrona/issues/161)](https://github-redirect.dependabot.com/real-logic/agrona/issues/161). > * Add `SystemUtil.threadDump()` to allow for the programmatic triggering of a JVM thread dump. > * Upgrade to Checkstyle 8.17. > > Binaries can be found [here...](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.agrona%22%20agrona) </details> <details> <summary>Commits</summary> - [`fe8b3cf`](real-logic/agrona@fe8b3cf) 0.9.31 released. - [`913e02b`](real-logic/agrona@913e02b) [Java] Fix build and tidy up after merge of PR [#164](https://github-redirect.dependabot.com/real-logic/agrona/issues/164). - [`b4951af`](real-logic/agrona@b4951af) Merge pull request [#164](https://github-redirect.dependabot.com/real-logic/agrona/issues/164) from hsrinara/bug/systemprop - [`7983876`](real-logic/agrona@7983876) Merge pull request [#163](https://github-redirect.dependabot.com/real-logic/agrona/issues/163) from RichardWarburton/master - [`832df4f`](real-logic/agrona@832df4f) Correctly load system properties in SystemUtil - [`f0972e4`](real-logic/agrona@f0972e4) fix [#162](https://github-redirect.dependabot.com/real-logic/agrona/issues/162) - [`3d5c524`](real-logic/agrona@3d5c524) [Java] Update Javadoc explain statelessness of UnsafeBuffer. Issue [#161](https://github-redirect.dependabot.com/real-logic/agrona/issues/161). - [`3f45f2b`](real-logic/agrona@3f45f2b) [Java] Update Javadoc to explain byte order in wrapped buffers. Issue [#161](https://github-redirect.dependabot.com/real-logic/agrona/issues/161). - [`f9d2052`](real-logic/agrona@f9d2052) [Java] Upgrade to Checkstyle 8.17. - [`4747685`](real-logic/agrona@4747685) [Java] Add SystemUtil.threadDump() method to programmatically trigger a threa... - Additional commits viewable in [compare view](real-logic/agrona@0.9.30...0.9.31) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=org.agrona:agrona&package-manager=maven&previous-version=0.9.30&new-version=0.9.31)](https://dependabot.com/compatibility-score.html?dependency-name=org.agrona:agrona&package-manager=maven&previous-version=0.9.30&new-version=0.9.31) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> Co-authored-by: dependabot[bot] <support@dependabot.com>
We need a dynamic update to the timer. Please prioritize. |
When we can expect this feature to be implemented? |
This issue was opened before I'd even heard of Zeebe (:sweat_smile:), so let me recap to make sure I understand the intent: Once a task exhausts its retries and is marked as failed (so not activatable/lockable anymore), we want to set a timeout such that the related incident is automatically resolved by increasing the number of retries? I imagine the use case is for some sort of back off, e.g. try 3 times, wait 5 seconds, try again 3 times, without the need for any extra command/action in between? |
I think it is not about incident resolving. What I understood was that it is about to make it available again after an @saig0 correct me if I'm wrong |
Ah, so it's not when the task is marked as failed (e.g. its state is failed) but just when we get a fail command? |
Yes, correct. The idea is that a client (Java/Go/Zbctl) can specify an optional backoff time when sending a JobFailed command. If a backoff time is set then the job will be available after the backoff time. Otherwise, the job will be available immediately (current behavior). The internal logic in the broker can be implemented in a similar way as DueDateTimerChecker. The fail command is handled by the FailProcessor. You can see how a job a marked as activated again, for example, in the TimeOutProcessor. Please ask questions if the requirement or the code is unclear. Thank you 🍪 Since this is a bigger change, I would suggest splitting the broker part and the different client parts into separate PRs. |
@saig0 Thanks, I got it :) I think there will be three PRs for that issue. |
I'm downgrading this for now as we're refactoring our engine and it doesn't make sense to do this at the moment. |
@aivinog1 yes, it's done 🎉 Feel free to work on it 🚀 |
The feature is available but not exposed to the clients yet. We should implement #5629 to complete the feature. |
@aivinog1 yes 🎉 Good job 🎖️ I'll create an issue to document the feature more prominent 🚀 |
AT:
The text was updated successfully, but these errors were encountered: