Skip to content

.maintenance.flag and .maintenance.ip files are stored in, and queried from S3 bucket, when S3 storage is enabled. #39047

Open
@gwharton

Description

@gwharton

Preconditions and environment

2.4.7-p1
S3 Storage Enabled

Steps to reproduce

Deploy 2.4.7-p1
Enable S3 Storage
Enable Maintenance Mode

Expected result

I wouldn't expect the mechanism to determine whether Magento is in maintenance mode or not to require a remote call to the S3 bucket.

Actual result

Every time my server is hit at the frontend, it fires off an API call to the S3 bucket to check for .maintenance.flag

Additional information

Not a bug as such, but feels like something that crept in without noticing when remote storage was envisaged.

I'm sure there are use cases to have a central .maintenance.flag shared across all instances

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Ready for Grooming

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions