From: Han Young Date: Wed, 21 May 2025 09:18:16 GMT Subject: Re: [PATCH 0/2] report lock error in write_index Message-ID: In-Reply-To: <20250521083521.6552-1-hanyang.tony@bytedance.com> On Wed, May 21, 2025 at 4:35 PM Han Young wrote: > We can let repo_hold_locked_index print the error message if the locking > failed. One downside of this is the command still prints "could not write index" below the lock error. The caller can't distinguish between the lock failure and the the actual writing failure.