Azure / Azure/Azurite

Setting Sequence Number to Maximum Integral Value (Int64) Gives an error.

Open
#2,337 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.3k
Forks
393
Avg merge
1d 20h
Merged PRs (30d)
36

Description

### Which service(blob, file, queue, table) does this issue concern?
blob

### Which version of the Azurite was used?
Azurite default version with Visual studio

### Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
Visual Studio Code Extension

### What's the Node.js version?

### What problem was encountered?
We make a pageblobclient.setsequencenumber call and pass parameters
1. Integral value for sequence number
2. Action value.
We use a http client to make this request and pass these as header values.

This leads to overflow exception, and there seems to be no limit to the value predefined(except of course the limit on the integer itself)

### Steps to reproduce the issue?
Make the call above.

If possible, please provide the debug log using the -d parameter, replacing \ with an appropriate path for your OS, or review the instructions for docker containers:

```
-d ""
```

Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.

### Have you found a mitigation/solution?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.