Skip to content

[dbsp] Don't issue warning for pidlock file.#6633

Merged
blp merged 1 commit into
mainfrom
pidlock
Jul 15, 2026
Merged

[dbsp] Don't issue warning for pidlock file.#6633
blp merged 1 commit into
mainfrom
pidlock

Conversation

@blp

@blp blp commented Jul 14, 2026

Copy link
Copy Markdown
Member

This suppresses a warning of the form

INFO dbsp::circuit::checkpointer:  Keeping unexpected File { size: 0 } feldera.pidlock

when a pipeline restarts.

Tested manually by starting a pipeline with nonempty storage with and without this commit.

Fixes: https://github.com/feldera/cloud/issues/1726

This suppresses a warning of the form

```
INFO dbsp::circuit::checkpointer:  Keeping unexpected File { size: 0 } feldera.pidlock
```

when a pipeline restarts.

Tested manually by starting a pipeline with nonempty storage with and
without this commit.

Fixes: feldera/cloud#1726

Signed-off-by: Ben Pfaff <blp@feldera.com>
@blp
blp requested a review from snkas July 14, 2026 22:29
@blp blp self-assigned this Jul 14, 2026
@blp blp added bug Something isn't working DBSP core Related to the core DBSP library storage Persistence for internal state in DBSP operators labels Jul 14, 2026
@blp
blp added this pull request to the merge queue Jul 14, 2026

@mythical-fred mythical-fred left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trivial and correct: the pidlock file is expected in the storage dir, so it belongs in the in_use_paths allowlist alongside the other well-known bookkeeping files. Making LOCKFILE_NAME pub is the minimum-surface way to share the constant between dirlock and checkpointer. Signed-off, no AI trailers. LGTM.

Merged via the queue into main with commit 53438cc Jul 15, 2026
1 check passed
@blp
blp deleted the pidlock branch July 15, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working DBSP core Related to the core DBSP library storage Persistence for internal state in DBSP operators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants