azure-functions-host icon indicating copy to clipboard operation
azure-functions-host copied to clipboard

Function HostID collision check

Open AdaTheDev opened this issue 3 years ago • 0 comments

Is your question related to a specific version? If so, please specify:

Upgrading Azure Functions v3 to v4

What language does your question apply to? (e.g. C#, JavaScript, Java, All)

N/A

Question

Relates to the Function HostID collision warning when running the "Functions v4.X Pre-Upgrade Validator", and the "Function App Name Collision Found" warning. I'm upgrading from V3 to V4.

  1. I know this could affect Blob Triggers and Timer triggers. Could this also affect EventHub triggers? If I set the AzureFunctionsWebHost__hostid app setting for this function app to address the issue, will that affect the EventHub trigger? Want to make sure it won't lose it's position in the stream and end up re-processing events.

  2. This warning is flagged for a few function apps - they all have different storage accounts (for AzureWebJobsStorage), but have names of length 32 or more. They each share some other storage accounts for other purposes - shared data etc - but the Functions runtime uses separate accounts. a) Does this warning flag up just based on the function app name length, without checking if they do use the same storage account for AzureWebJobsStorage? b) If I continue with the upgrade to V4 and ignore this warning, will my Functions fail to start up? I'm not clear on whether the fact it shows as a warning Pre-Upgrade, means it will escalate to an error on startup under V4 even though I don't think it's an issue in this instance?

AdaTheDev avatar Jul 14 '22 11:07 AdaTheDev