8000 Mute write operations not allowed errors on db drop by loveleif · Pull Request #786 · neo4j/apoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Mute write operations not allowed errors on db drop #786

New issue

Have a question about this project? Sign up for a free 8000 GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025

Conversation

loveleif
Copy link
Contributor

No description provided.

@@ -193,6 +194,8 @@ public void databaseDrop(DatabaseEventContext eventContext) {
.forEachRemaining(Node::delete);
}
tx.commit();
} catch (WriteOperationsNotAllowedException e) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will get these errors from read only nodes in a cluster and they don't need to spam the logs.

@JoelBergstrand JoelBergstrand self-assigned this May 16, 2025
@loveleif loveleif merged commit 0b2a485 into neo4j:dev May 19, 2025
5 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0