-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free 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
Fail CLIENT IMPORT-SOURCE
When Import Mode is Disabled and Reflect Client Import Source State in CLIENT LIST
#1350
Comments
Some random thoughts for consideration
|
Good idea.
This is indeed an effective method to "automatically" toggle However, there are a few concerns:
|
I am thinking more in the context of managed services where a user wants to import data into a managed cluster. My main concern is the (user) client never coming back and turning off the import mode on the server. The server then ends up growing its memory footprint unbounded. Making this command a superuser command wouldn't help much either IMO. So how can a server protects itself from a potentially buggy client?
What if we allow some delay, say 5 mins, before turning off the import mode on the server, after the last "import-source" client drops? This would allow the client to connect back in case of network issues without breaking the "import" semantics while at the same time prevents the memory footprint from growing unbounded on the server? Just brainstorming ... |
Originally posted by @hpatro in #1185 (comment)
The text was updated successfully, but these errors were encountered: