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

DirectMethod UploadModuleLogs causes to many AppendBlock transactions #7375

Open
steffenbeermann opened this issue Sep 24, 2024 · 0 comments
Assignees

Comments

@steffenbeermann
Copy link

steffenbeermann commented Sep 24, 2024

Expected Behavior

When calling the UploadModuleLogs for one Module the logs should be uploaded to a log file in the specified container with a reasonable amount of transactions

Current Behavior

It seems like the EdgeAgent produces a lot of transactions when uploading the logs to the blob container. When I called the UploadModuleLogs method to upload 50.000 lines of logs (file size is 5.7mb) it produced around 90.000 transactions (reported by the metrics of the container with no other transactions happening expect the upload of the logs)

For us this results in around 3.5 Million! transactions each day to upload our edge logs.

Steps to Reproduce

Provide a detailed set of steps to reproduce the bug.

  1. deploy a module that has a lot of logs
  2. use UploadModuleLogs to upload the logs
  3. the the sum of transactions in storage account metric
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

No branches or pull requests

2 participants