-
Notifications
You must be signed in to change notification settings - Fork 5
Retain expired services? If yes, why and how? #50
Comments
I prefer the second option. What do you think @rohitadeshmukh13 ? |
Totally agree with you about retaining the expired services instead of deleting them. |
That's option 4 :) |
Why would it be useful to keep the expired services? If it is useful would you also add additional metadata, like if the service expired or if it was deleted? |
The use-case is from a project, @rohitadeshmukh13 can explain better. |
Yes, this was being discussed in a project, but it's not a requirement yet. |
In the current version, the expired services are removed from the catalog. Instead, it may be useful to retain them permanently.
Keeping expired services in the same catalog may add unnecessary overhead to filtering and increase the size of index query responses.
Some ideas:
?expired=true
shall respond with expired items only.?include_expired=true
. This will scale poorly if it requires reading everything from DB and filtering them.The text was updated successfully, but these errors were encountered: