data dir id is not persisted immediately
If a node is stated and stopped data dir id is not getting persisted 
```bash
./nimbus-eth1/build/nimbus_execution_client --network=mainnet --data-dir=mainnet
libbacktrace error: no debugging symbols available. Compile with '--debugger:native'.
INF 2025-01-17 18:40:18.673+05:30 Launching execution client                 version=v0.1.0-bf57c8e0 conf="(dataDir: mainnet, era1DirOpt: none(OutDir), eraDirOpt: none(OutDir), keyStore: mainnet/keystore, chainDbMode: Aristo, importKey: , evm: \"\", trustedSetupFile: none(string), extraData: \"nimbus-eth1/v0.1.0-bf57c8e0\", gasLimit: 36000000, network: \"mainnet\", customNetwork: none(NetworkParams), networkId: 1, networkParams: (config: ..., genesis: ...), logLevel: INFO, logFile: none(OutFile), logMetricsEnabled: false, logMetricsInterval: 10, metricsEnabled: false, metricsPort: 9093, metricsAddress: 127.0.0.1, bootstrapNodes: @[], bootstrapFile: , bootstrapEnrs: @[], staticPeers: @[], staticPeersFile: , staticPeersEnrs: @[], reconnectMaxRetry: 0, reconnectInterval: 15, listenAddress: ::, tcpPort: 30303, udpPort: 30303, maxPeers: 25, nat: (hasExtIp: false, nat: NatAny), discovery: V4, netKey: \"random\", agentString: \"nimbus-eth1/v0.1.0-bf57c8e0/macosx-arm64/Nim-2.0.14/nimvm\", numThreads: 0, beaconChunkSize: 0, rocksdbMaxOpenFiles: 2048, rocksdbWriteBufferSize: 67108864, rocksdbRowCacheSize: 0, rocksdbBlockCacheSize: 2684354560, rdbVtxCacheSize: 536870912, rdbKeyCacheSize: 268435456, rdbBranchCacheSize: 1073741824, rdbPrintStats: false, rewriteDatadirId: false, cmd: noCommand, httpPort: 8545, httpAddress: 127.0.0.1, rpcEnabled: false, rpcApi: @[], wsEnabled: false, wsApi: @[], graphqlEnabled: false, engineApiEnabled: false, engineApiPort: 8551, engineApiAddress: 127.0.0.1, engineApiWsEnabled: false, allowedOrigins: @[], jwtSecret: none(InputFile))"
INF 2025-01-17 18:40:19.736+05:30 Writing data dir ID                        ID=0x9789a1fd049687d35a07d16e291d36c65aecaa7889bc168f13120dcd1d856349
INF 2025-01-17 18:40:19.737+05:30 Threadpool started                         numThreads=14
INF 2025-01-17 18:40:19.756+05:30 Writing genesis to DB                      blockHash=0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3 stateRoot=0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544 difficulty=17179869184 gasLimit=5000 timestamp=0 nonce=0x0000000000000042
INF 2025-01-17 18:40:19.756+05:30 Database initialized                       base="(0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3, 0)" finalized="(0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3, 0)" head="(0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3, 0)"
INF 2025-01-17 18:40:20.939+05:30 UPnP: added port mapping                   topics="eth net nat" externalPort=30303 internalPort=30303 protocol=TCP
INF 2025-01-17 18:40:20.957+05:30 UPnP: added port mapping                   topics="eth net nat" externalPort=30303 internalPort=30303 protocol=UDP
INF 2025-01-17 18:40:20.957+05:30 RLPx listener up                           topics="eth p2p" self=enode://bc8469cf1f827232bafe17398ee1eb135f3f1c8baebced006e242f9cb1596b530ef6d995221960f584e5a48c63ba7a10ad9eb4383b1f3e4309343c7b8e15fa24@172.21.179.35:30303
WRN 2025-01-17 18:40:20.958+05:30 Engine API disabled, the node will not respond to consensus client updates (enable with `--engine-api`)
^C
Ctrl+C pressed. Waiting for a graceful shutdown.

 ~/development/nim ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 13s  06:40:31 pm 
❯ ./nimbus-eth1/build/nimbus_execution_client --network=holesky --data-dir=mainnet
libbacktrace error: no debugging symbols available. Compile with '--debugger:native'.
INF 2025-01-17 18:40:39.675+05:30 Launching execution client                 version=v0.1.0-bf57c8e0 conf="(dataDir: mainnet, era1DirOpt: none(OutDir), eraDirOpt: none(OutDir), keyStore: mainnet/keystore, chainDbMode: Aristo, importKey: , evm: \"\", trustedSetupFile: none(string), extraData: \"nimbus-eth1/v0.1.0-bf57c8e0\", gasLimit: 36000000, network: \"holesky\", customNetwork: none(NetworkParams), networkId: 17000, networkParams: (config: ..., genesis: ...), logLevel: INFO, logFile: none(OutFile), logMetricsEnabled: false, logMetricsInterval: 10, metricsEnabled: false, metricsPort: 9093, metricsAddress: 127.0.0.1, bootstrapNodes: @[], bootstrapFile: , bootstrapEnrs: @[], staticPeers: @[], staticPeersFile: , staticPeersEnrs: @[], reconnectMaxRetry: 0, reconnectInterval: 15, listenAddress: ::, tcpPort: 30303, udpPort: 30303, maxPeers: 25, nat: (hasExtIp: false, nat: NatAny), discovery: V4, netKey: \"random\", agentString: \"nimbus-eth1/v0.1.0-bf57c8e0/macosx-arm64/Nim-2.0.14/nimvm\", numThreads: 0, beaconChunkSize: 0, rocksdbMaxOpenFiles: 2048, rocksdbWriteBufferSize: 67108864, rocksdbRowCacheSize: 0, rocksdbBlockCacheSize: 2684354560, rdbVtxCacheSize: 536870912, rdbKeyCacheSize: 268435456, rdbBranchCacheSize: 1073741824, rdbPrintStats: false, rewriteDatadirId: false, cmd: noCommand, httpPort: 8545, httpAddress: 127.0.0.1, rpcEnabled: false, rpcApi: @[], wsEnabled: false, wsApi: @[], graphqlEnabled: false, engineApiEnabled: false, engineApiPort: 8551, engineApiAddress: 127.0.0.1, engineApiWsEnabled: false, allowedOrigins: @[], jwtSecret: none(InputFile))"
INF 2025-01-17 18:40:40.731+05:30 Writing data dir ID                        ID=0x252e151541c3f35941aa44b3a13f874b6d4435e4e56fb293bc8bc5c87816a90c
INF 2025-01-17 18:40:40.731+05:30 Threadpool started                         numThreads=14
INF 2025-01-17 18:40:40.733+05:30 Writing genesis to DB                      blockHash=0xb5f7f912443c940f21fd611f12828d75b534364ed9e95ca4e307729a4661bde4 stateRoot=0x69d8c9d72f6fa4ad42d4702b433707212f90db395eb54dc20bc85de253788783 difficulty=1 gasLimit=25000000 timestamp=1695902100 nonce=0x0000000000001234
INF 2025-01-17 18:40:40.733+05:30 Database initialized                       base="(0xb5f7f912443c940f21fd611f12828d75b534364ed9e95ca4e307729a4661bde4, 0)" finalized="(0xb5f7f912443c940f21fd611f12828d75b534364ed9e95ca4e307729a4661bde4, 0)" head="(0xb5f7f912443c940f21fd611f12828d75b534364ed9e95ca4e307729a4661bde4, 0)"
INF 2025-01-17 18:40:41.790+05:30 UPnP: added port mapping                   topics="eth net nat" externalPort=30303 internalPort=30303 protocol=TCP
INF 2025-01-17 18:40:41.806+05:30 UPnP: added port mapping                   topics="eth net nat" externalPort=30303 internalPort=30303 protocol=UDP
INF 2025-01-17 18:40:41.806+05:30 RLPx listener up                           topics="eth p2p" self=enode://b6437f3bd1a23c5ac55a3621126100537ec7a509e057628bc82f4b10a6a8f276c9d6c723c8de66e87f4c1bdd983b8a6189b34592be914979ceba4083cd10c04a@172.21.179.35:30303
WRN 2025-01-17 18:40:41.807+05:30 Engine API disabled, the node will not respond to consensus client updates (enable with `--engine-api`)
```

Also similar issue faced by the infra team ref -> [chat link](https://discord.com/channels/613988663034118151/641680546191376384/1329791226437697567)