Repository navigation
Description
Feature Summary
bin/local-dev.sh stores the host laptop's LAN IP as the MinIO (S3) endpoint inside the Lakekeeper warehouse — it is the one address reachable both from containers and from Texera services running natively on the host.
flowchart LR
subgraph L["Laptop — host IP 192.168.1.5"]
TX["Texera services<br/>(native on host)"]
subgraph D["Docker"]
LK["Lakekeeper"]
MO["MinIO :9000"]
end
end
TX -->|"create table (REST catalog)"| LK
LK -->|"S3 write → 192.168.1.5:9000"| MO
The IP is written once, at warehouse registration. Move the laptop to another network and the stored endpoint is stale:
flowchart LR
subgraph L2["Laptop — host IP is now 10.0.0.7"]
TX2["Texera services"]
subgraph D2["Docker"]
LK2["Lakekeeper<br/>storage profile still says<br/>192.168.1.5:9000"]
MO2["MinIO :9000"]
end
end
TX2 -->|"create table"| LK2
LK2 -.->|"S3 write to 192.168.1.5:9000<br/>times out"| OLD["old address —<br/>unreachable"]
LK2 -->|"RESTException: Unable to process"| TX2
Result: every workflow execution fails at startup (RESTException: Unable to process: with an empty body, thrown from createTable). Reads of existing tables still work — that metadata is served from Lakekeeper's own Postgres, never touching MinIO — which makes the failure look unrelated to networking.
Reproduce: bin/local-dev.sh up on network A → move the machine to network B → run any workflow.
Proposed Solution or Design
On every up, compare the host's current IP with the endpoint stored in the warehouse's storage profile (GET /management/v1/warehouse/{id}). If they differ, refresh it with one management-API call (POST /management/v1/warehouse/{id}/storage, reusing the existing profile with the new endpoint and the MinIO credentials compose already provisions).
Small change — about a dozen lines in bin/local-dev/main.sh; the only user-visible difference is one log line. Today the recovery is a manual curl against the management API, or recreating the warehouse.
Affected Area
Deployment
Update (from #7473 review): the same staleness applies to every per-user Local warehouse created by WarehouseResource — their storage profiles persist the same endpoint. The up-time refresh should therefore update the profile of all warehouses whose endpoint differs from the current host IP, not only the default one.
Activity
chenlica commentedon Aug 7, 2026
@mengw15 This description is hard to understand. Can you add some diagrams?
github-actions commentedon Aug 7, 2026
👋 Thanks for opening this issue, @mengw15!
It looks like the issue description doesn't quite follow our template yet:
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
feat(storage): bound the per-warehouse catalog cache and release evic…
mengw15 commentedon Sep 27, 2026
Two observations from a local reproduction, in case they help whoever picks this up:
host.docker.internal:9000, so the Lakekeeper side of ahost.docker.internalendpoint would work on Docker Desktop.127.0.0.1 host.docker.internalto/etc/hostsis what closes that half.Neither half has been validated through the full vended-endpoint path, so this is evidence rather than a proposed fix.
Also worth noting: the same staleness hits the default
texerawarehouse, so it is not specific to the per-user feature — an IP change breaks Iceberg storage on local-dev regardless ofstorage.warehouse.enabled.