automq icon indicating copy to clipboard operation
automq copied to clipboard

shutdown when log creating/opening

Open mooc9988 opened this issue 1 year ago • 0 comments

Problems may exist when node is suddenly shut down, especially some log is creating or opening. Here are some possible relative cases.

problems in log creating

  1. meta stream was created, but its id was not saved in KV. In that case, the stream will be out of control. It has no effect on brokers. We need to check its influence in controller layer.

problem in log creating or opening

  1. persistProducerSnapshotMeta not atomic Need fixing
  2. partitionMeta set cleanedShutdown false. Need support for uncleaned shutdown.

mooc9988 avatar Oct 17 '23 07:10 mooc9988