Comment 3 for bug 1318375

Revision history for this message
Matthew Oliver (matt-0) wrote :

So I have 2 directions I can take this in.

1. Proxy change::
    - Modify the _make_request method in Controller base class to check for DELETE method and change a 404 into a 200, there by changing all DELETES for account, container and objs but making it work correctly in calculating the have_quorum and best_response methods.
    - This will allow logging on each (obj, cont and account) servers to log correctly sending a 404 when the file wasn't found (for whatever reason.
   - But it will change ALL 404's raised by servers.. which might be ok.

2. Obj server change.
  - Modify the object server to return HTTPOk objects instead of HTTPNotFound.
  - This will only effect object servers,
  - We can send 200's back on 404's we think are OK. (ie, only if deleted already).
  - but this will log 200's when really the file wasn't found in the obj server logs
  - this will fix deleted objects but not cont and acct servers.

I guess the real question is what is important, do we want to fix all acct, cont and container servers in one place, or more finely tune what 404's should be 200s?