Skip to content

Release 2.3.5 - fix phantom 'Microsoft' cache host (2.3.4 regression)#52

Merged
luigilink merged 1 commit into
mainfrom
release/2.3.5
Jun 29, 2026
Merged

Release 2.3.5 - fix phantom 'Microsoft' cache host (2.3.4 regression)#52
luigilink merged 1 commit into
mainfrom
release/2.3.5

Conversation

@luigilink

Copy link
Copy Markdown
Owner

Fixes #51. Iterate SPDistributedCacheServiceInstance instead of ClusterHealth.Hosts (HostInfo objects whose ToString starts with 'Microsoft...').
Pester 180/0, PSSA 0.

…Health.Hosts

v2.3.4 iterated (Get-SPCacheClusterHealth).Hosts, which is a collection of
HostInfo objects whose ToString() starts with
'Microsoft.SharePoint.Internal.Caching...'. Split('.')[0] then yielded
'Microsoft' as a fake short name, and the real DC host fell into the
'Not a cache host' list. Go back to iterating SPDistributedCacheServiceInstance
(Server.Address is the correct short name) and keep Get-SPCacheClusterInfo.Size
for the cluster Size; the graceful defaults from 2.3.4 are preserved.

Fixes #51
@github-actions

Copy link
Copy Markdown

Pester Test Results

  1 files   15 suites   3s ⏱️
 59 tests  59 ✅ 0 💤 0 ❌
181 runs  181 ✅ 0 💤 0 ❌

Results for commit 5a2539c.

@luigilink luigilink merged commit 59a096a into main Jun 29, 2026
3 checks passed
@luigilink luigilink deleted the release/2.3.5 branch June 29, 2026 11:40
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.

2.3.5: SE Distributed Cache - 'Microsoft' phantom host (ClusterHealth.Hosts is objects, not strings)

1 participant