-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
RFE: master file server addition information e.g. ETag #45314
Comments
@saltstack/team-core does anyone have any opinions about this? Thanks, |
I am fine with this as a feature addition as long as the default interface does not change. Any changes to the master/minion apis needs to be very carefully managed as we don't want to create and master/minion incompatibilities. |
It's a change to the salt:// protocol. Aim being that it will help make the cache on the minion faster as it can be smarter about what it does. And opens the master to decided what to use the for ETag (e.g. checksum on a flat file system or git info from a git repo) |
Does the current salt:// protocol have version of the protocol in the request, or the minion version including in the request? So the master knows how to respond in a compatible way. |
no, the current salt:// protocol is not versioned. I think that adding versioning would be a good idea, but we should also be able to specify modifiers in the form of arguments and implement the minion side to compensate. |
Can we label this with |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Most likey worth keeping this open |
ping @saltstack/team-windows as per today working group meeting. |
Description of Issue/Question
Can the backed be updated so instead of just returning simple information i.e. filename it always returns a dict
Now looks like
Future look, however every command should receive a dict for each file name, may not use the info
ETag its up to the client to record it so it knows if the file has change or not. The client does not care how it was generated and does not need to generate/calculate it itself. However the server must change it if the file changes on the server. ETag could be a commit tag or something else from git.
It's important all masters give out the same ETag for the same file. An Etag which uses inode number would fail as this would be different on different masters.
+1 if you like the idea.
The next stage would be for the clients to use this information as part of caching.
The text was updated successfully, but these errors were encountered: