The value of property accessTierChangeTime is set when upload blob on block blob in Azurite
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 393
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 36
Description
**Error Description:**
In Azure, property `accessTierChangeTime` is null when upload blob on block blob.
But in Azurite, property `accessTierChangeTime` has a value in this case.
**To Reproduce:**
Please run the demo code as following:
```Typescript
import { BlobServiceClient, StorageSharedKeyCredential } from "@azure/storage-blob";
import { assert } from "chai";
async function main() {
const blobServiceClient = new BlobServiceClient("", new StorageSharedKeyCredential("", ""));
const containerClient = blobServiceClient.getContainerClient("");
await containerClient.create();
const blockBlobClient = containerClient.getBlockBlobClient("");
const content = "Hello World";
await blockBlobClient.upload(content, content.length);
const properties = await blockBlobClient.getProperties();
assert.ok(!properties.accessTierChangedOn);
}
main();
```
**Error Track:**
[https://github.com/Azure/Azurite/blob/master/src/blob/handlers/BlockBlobHandler.ts#L119](https://github.com/Azure/Azurite/blob/master/src/blob/handlers/BlockBlobHandler.ts#L119)

In Azurite, the value of property `accessTierChangeTime` is set when upload blob on block blob.
**Expected Behavior:**
In Azurite, property `accessTierChangeTime` is null when upload blob on block blob.
@jongio for notification.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.