Skip to content

Commit

Permalink
YT-19047: Fix unregister chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
don-dron committed May 4, 2023
1 parent df96e8e commit 42b6cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/yt/server/node/data_node/chunk_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ void TChunkStore::UnregisterChunk(const IChunkPtr& chunk)
const auto& location = chunk->GetLocation();
auto state = location->GetState();

if (state == ELocationState::Enabled || state == ELocationState::Disabling) {
if (!(state == ELocationState::Enabled || state == ELocationState::Disabling)) {
return;
}

Expand Down

0 comments on commit 42b6cc5

Please sign in to comment.