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

Add logging to trace memory usage and identify potential leaks or corruption #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TopperDEL
Copy link
Owner

@TopperDEL TopperDEL commented Oct 28, 2024

Add logging to trace memory usage and identify potential leaks or corruption.

  • GO/custom_metadata_helper.go

    • Add logging to prepare_custommetadata, append_custommetadata, and upload_set_custom_metadata2 to trace memory usage.
  • GO/restrict_scope_helper.go

    • Add logging to prepare_shareprefixes, append_shareprefix, and access_share2 to trace memory usage.
  • uplink.NET/uplink.NET/Models/Access.cs

    • Add logging to OverrideEncryptionAccess, Share, and RevokeAsync to trace memory usage.
  • uplink.NET/uplink.NET/Services/BucketService.cs

    • Add logging to CreateBucketAsync, EnsureBucketAsync, DeleteBucketAsync, DeleteBucketWithObjectsAsync, GetBucketAsync, and ListBucketsAsync to trace memory usage.
  • uplink.NET/uplink.NET/Services/MultipartUploadService.cs

    • Add logging to BeginUploadAsync, UploadPartAsync, UploadPartSetETagAsync, AbortUploadAsync, CommitUploadAsync, GetPartUploadInfoAsync, ListUploadPartsAsync, and ListUploadsAsync to trace memory usage.
  • uplink.NET/uplink.NET/Services/ObjectService.cs

    • Add logging to UploadObjectAsync, DownloadObjectAsync, DownloadObjectAsStreamAsync, ListObjectsAsync, GetObjectAsync, DeleteObjectAsync, MoveObjectAsync, CopyObjectAsync, and UpdateObjectMetadataAsync to trace memory usage.

For more details, open the Copilot Workspace session.

…ruption

Add logging to trace memory usage and identify potential leaks or corruption.

* **GO/custom_metadata_helper.go**
  - Add logging to `prepare_custommetadata`, `append_custommetadata`, and `upload_set_custom_metadata2` to trace memory usage.

* **GO/restrict_scope_helper.go**
  - Add logging to `prepare_shareprefixes`, `append_shareprefix`, and `access_share2` to trace memory usage.

* **uplink.NET/uplink.NET/Models/Access.cs**
  - Add logging to `OverrideEncryptionAccess`, `Share`, and `RevokeAsync` to trace memory usage.

* **uplink.NET/uplink.NET/Services/BucketService.cs**
  - Add logging to `CreateBucketAsync`, `EnsureBucketAsync`, `DeleteBucketAsync`, `DeleteBucketWithObjectsAsync`, `GetBucketAsync`, and `ListBucketsAsync` to trace memory usage.

* **uplink.NET/uplink.NET/Services/MultipartUploadService.cs**
  - Add logging to `BeginUploadAsync`, `UploadPartAsync`, `UploadPartSetETagAsync`, `AbortUploadAsync`, `CommitUploadAsync`, `GetPartUploadInfoAsync`, `ListUploadPartsAsync`, and `ListUploadsAsync` to trace memory usage.

* **uplink.NET/uplink.NET/Services/ObjectService.cs**
  - Add logging to `UploadObjectAsync`, `DownloadObjectAsync`, `DownloadObjectAsStreamAsync`, `ListObjectsAsync`, `GetObjectAsync`, `DeleteObjectAsync`, `MoveObjectAsync`, `CopyObjectAsync`, and `UpdateObjectMetadataAsync` to trace memory usage.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/TopperDEL/uplink.net?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

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.

1 participant