Skip to content

Commit

Permalink
Upload fail logs
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeny Malygin <[email protected]>
  • Loading branch information
678098 committed Apr 25, 2024
1 parent 463304b commit b04f987
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,16 @@ jobs:
--tb line \
--reruns=3 \
-n 4 -v
- name: Compress collected broker logs
run: |
find .
tar -zcvf broker_logs.tar.gz failure-logs
- name: Upload broker logs as artifacts
uses: actions/upload-artifact@v3
with:
name: broker_logs_${{ matrix.cluster }}_${{ matrix.mode }}
path: broker_logs.tar.gz
retention-days: 5

build_macosx:
name: Build [macosx_${{ matrix.arch }}]
Expand Down
1 change: 0 additions & 1 deletion src/groups/mqb/mqbblp/mqbblp_relayqueueengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,6 @@ int RelayQueueEngine::onRejectMessage(
msgGUID);

if (rc == mqbi::StorageResult::e_SUCCESS) {

const int maxDeliveryAttempts =
d_queueState_p->domain()->config().maxDeliveryAttempts();
const bool domainIsUnlimited = (maxDeliveryAttempts == 0);
Expand Down
1 change: 0 additions & 1 deletion src/groups/mqb/mqbblp/mqbblp_rootqueueengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,6 @@ int RootQueueEngine::onRejectMessage(mqbi::QueueHandle* handle,
d_queueState_p->storage()->getIterator(&message, appKey, msgGUID);

if (storageRc == mqbi::StorageResult::e_SUCCESS) {

const int maxDeliveryAttempts =
d_queueState_p->domain()->config().maxDeliveryAttempts();
const bool domainIsUnlimited = (maxDeliveryAttempts == 0);
Expand Down

0 comments on commit b04f987

Please sign in to comment.