Brief Description of the Bug
After revalidating a page (using ISR), if a new pod joins the cluster, it overwrites the page content back to its initial value when it was generated.
Severity
Major
Frequency of Occurrence
Always
Steps to Reproduce
Provide detailed steps to reproduce the behavior, including any specific conditions or configurations where the bug occurs:
- Enable populating cache with pre-rendered page
- Start a container A
- Container A populates cache
- Revalidate page X in container A (using on-demand revalidation)
- Start container B
- Container B populates cache (overwriting update in page X from step 4)
Expected
Revalidated page data should not get overwritten back when a new pod starts
Actual Behavior
Page data is overwritten whenever container starts
Environment:
- OS: MacOS
- Node.js version: 20.9.0
@neshca/cache-handler version: 1.9.0
next version: 14.2.8
Dependencies and Versions
Brief Description of the Bug
After revalidating a page (using ISR), if a new pod joins the cluster, it overwrites the page content back to its initial value when it was generated.
Severity
Major
Frequency of Occurrence
Always
Steps to Reproduce
Provide detailed steps to reproduce the behavior, including any specific conditions or configurations where the bug occurs:
Expected
Revalidated page data should not get overwritten back when a new pod starts
Actual Behavior
Page data is overwritten whenever container starts
Environment:
@neshca/cache-handlerversion: 1.9.0nextversion: 14.2.8Dependencies and Versions