You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function SyncService (link)will copy "Spec.Type", and thus the service type will be updated.
// SyncService synchronizes a service with an updated spec and validates itfuncSyncService(curr*v1.Service, next*v1.Service) {
curr.Spec.Ports=next.Spec.Portscurr.Spec.Type=next.Spec.Type
}
The text was updated successfully, but these errors were encountered:
@tianyin It was found before. The root cause of #81 will cause the same effects to all fields under adminServerService/ clientService/ headlessService. To elaborate, clientService and headlessService only have one field annotations, and adminServerService has two fields, annotations and external.
If there is an existing service, the above fields will not be updated (BUG: it should be updated). If we delete the existing service, the operator will recreate the services with the correct specifications.
The annotations bug for three services can be addressed by the solution mentioned in #81. However, the external bug for adminServerService should be solved in another method. That's why we define these bugs with the same root cause into two bug categories.
Acto should generate test cases which mutate the external field, but it did not due to some bugs in Acto. Tyler has fixed these Acto bugs recently, and Acto will generate the external related test cases. We will use the new test cases to write a detailed bug report next week. Currently, we are working on CS598 final report.
@tylergu I have updated the issue description. I found it is not a bug. Sorry for the misunderstanding. If you read the updated issue description, feel free to close this issue.
The root cause is very similar to #81, but the solution is a bit different. I will finish this bug report next week.
[Update]
I found this is not a bug. The field
external
in the function makeService (link) is used to update service type.The function
SyncService
(link)will copy "Spec.Type", and thus the service type will be updated.The text was updated successfully, but these errors were encountered: