Skip to content

Commit 1f20746

Browse files
committed
Increase the Acrolinx score
1 parent 8c6bdd4 commit 1f20746

File tree

1 file changed

+10
-8
lines changed
  • articles/azure-functions/errors-diagnostics/diagnostic-events

1 file changed

+10
-8
lines changed

articles/azure-functions/errors-diagnostics/diagnostic-events/azfd0004.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ description: "AZFD0004: Host ID collision"
55
author: madelinegordon
66
ms.author: magordon
77
ms.topic: troubleshooting
8-
ms.date: 01/19/2023
8+
ms.date: 01/28/2023
99
---
1010

1111
# AZFD0004: Host ID collision
1212

13-
This event occurs when you have multiple Function Apps sharing a single storage account they're each using the same host ID, which is usually autogenerated.
13+
This event occurs when you have multiple function apps or slots with the same generated host ID sharing the same storage account.
1414

1515
| | Value |
1616
|-|-|
@@ -20,16 +20,18 @@ This event occurs when you have multiple Function Apps sharing a single storage
2020

2121
## Event description
2222

23-
A host ID collision can occur when you have more than one function app or slots sharing the same storage account and using the same host ID. For example, if you have multiple apps or slots with names longer than 32 characters and the first 32 characters are shared, both generated host ID values may be the same due to truncation.
23+
A host ID collision can occur when you've more than one function app or slot using the same host ID while sharing a storage account. This condition usually occurs due to truncation of similar function app names when the host ID value is generated. For example, if you have multiple apps or slots with names longer than 32 characters and the first 32 characters are shared, both generated host ID values may be the same due to truncation.
2424

25-
When multiple apps have the same host ID, the resulting collision can result incorrect behaviors. For example, some triggers, like timer and Blob Storage, store tracking info by host ID. This can result in incorrect behavior when the host can't differentiate between apps by host ID. When this collision is detected, an error (hard failure) is logged and the host is shut down.
25+
When multiple apps have the same host ID, the resulting collision can result incorrect behaviors. For example, some triggers, like timer and Blob Storage, store tracking info by host ID. This collision can result in incorrect behavior when the host can't differentiate between apps by host ID. When such a collision is detected, an error (hard failure) is logged and the host is shut down.
2626

2727
For more information, see [host ID considerations](../../../storage-considerations.md#host-id-considerations).
2828

2929
## Options for addressing collisions:
30-
- Connection your function app at a different storage account by changing the [AzureWebJobsStorage](../../../functions-app-settings.md#azurewebjobsstorage) application setting.
31-
- Rename your function app to something less than 32 characters in length. This changes the host ID generated for the app and removes the collision.
32-
- Provide explicit host ID values for your function apps or slots so they no longer conflict. For more information, see [host ID considerations](../../../storage-considerations.md#host-id-considerations).
30+
31+
- Connect each function app or slot in the collision to a different storage account by changing the [AzureWebJobsStorage](../../../functions-app-settings.md#azurewebjobsstorage) application setting or slot setting.
32+
- Rename your function apps to a name that is fewer than 32 characters in length. When names have fewer than 32 characters, unique host IDs can be generated for each app, which removes the collision.
33+
- Set explicit host ID values for your function apps or slots so they no longer conflict. For more information, see [host ID considerations](../../../storage-considerations.md#host-id-considerations).
3334

3435
## When to suppress the event
35-
This event should not be suppressed.
36+
37+
This event shouldn't be suppressed.

0 commit comments

Comments
 (0)