Skip to content

Commit

Permalink
Upload logs
Browse files Browse the repository at this point in the history
Signed-off-by: Gao Hongtao <[email protected]>
  • Loading branch information
hanahmily committed Feb 2, 2025
1 parent 51899c2 commit 8d4fcd7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/e2e.storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@ jobs:
uses: apache/skywalking-infra-e2e@cf589b4a0b9f8e6f436f78e9cfd94a1ee5494180
with:
e2e-file: $GITHUB_WORKSPACE/${{ matrix.test.config }}
- if: ${{ failure() }}
run: |
df -h
du -sh .
docker images
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
name: Upload Logs
with:
name: test-logs-${{ matrix.test.name }}
path: "${{ env.SW_INFRA_E2E_LOG_DIR }}"

Storage:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking-banyandb') || (github.event_name != 'schedule')
Expand Down
8 changes: 1 addition & 7 deletions banyand/stream/block_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,7 @@ func (bm *blockMetadata) reset() {
bm.count = 0
bm.timestamps.reset()
bm.elementIDs.reset()
for k := range bm.tagFamilies {
tf := bm.tagFamilies[k]
if tf != nil {
tf.reset()
}
delete(bm.tagFamilies, k)
}
bm.tagFamilies = make(map[string]*dataBlock)
bm.tagProjection = bm.tagProjection[:0]
}

Expand Down

0 comments on commit 8d4fcd7

Please sign in to comment.