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

[Do not review] Adjusting surrogate id generator #3933

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

SergeyGaluzo
Copy link
Contributor

No description provided.

@SergeyGaluzo SergeyGaluzo requested a review from a team as a code owner June 18, 2024 01:37
@@ -245,7 +349,7 @@
private static long CopyBlob(BlobContainerClient sourceContainer, string blobName, BlobContainerClient targetContainer, ref long targetBlobs, int blobIndex)
{
var lines = 0L;
var baseDate = DateTime.UtcNow.AddMinutes(-SourceBlobs).AddMinutes(blobIndex);
var baseDate = DateTime.Parse(DateTime.UtcNow.ToString("yyyy-MM-ddT00:00:00.000")).AddMinutes(-SourceBlobs).AddMinutes(blobIndex / BlobRangeSize); // all blobs in range will get the same starting last updated

Check failure

Code scanning / CodeQL

Possible loss of precision Error

Possible loss of precision: any fraction will be lost.
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