You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2026/10/18 20:56:00 UTC
[jira] [Created] (HDDS-17120) DBCheckpointServlet keeps a stale DBStore after OM installs a checkpoint
Siyao Meng created HDDS-17120:
---------------------------------
Summary: DBCheckpointServlet keeps a stale DBStore after OM installs a checkpoint
Key: HDDS-17120
URL: https://issues.apache.org/jira/browse/HDDS-17120
Project: Apache Ozone
Issue Type: Bug
Components: Ozone Manager
Reporter: Siyao Meng
DBCheckpointServlet caches the DBStore in initialize() on its first request (DBCheckpointServlet.java:88). After a follower OM installs a checkpoint, reloadOMState replaces the metadata manager and its store, but OMDBCheckpointServlet and OMDBCheckpointServletInodeBasedXfer still call getDbStore() (e.g. OMDBCheckpointServlet.java:281, 286), so they likely get the old, closed store while the lock and snapshot directory come from the new one. SCM restarts its metadata store during snapshot install in a similar way.
Found by code reading; not reproduced yet.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org