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
In the redirect scenario, update_physical_path_for_decoupled_naming must be called from two different locations.
From s3_notify which is run on the server the client is connected to. This ensures that the decoupled name get written properly to the database.
From s3_file_create which is run on the server we are redirected to. This ensures that object is written to the correct S3 key.
In the non-redirect case, the above two code paths still both call update_physical_path_for_decoupled_naming. This means that the code will iterate through the L1desc[] table twice (usually only one or two iterations as the entries are almost always in the first couple of slots) and update the physical_path twice. This is slightly inefficient.
We should detect that this has already been executed on that server and not execute it a second time.
The text was updated successfully, but these errors were encountered:
In the redirect scenario,
update_physical_path_for_decoupled_naming
must be called from two different locations.s3_notify
which is run on the server the client is connected to. This ensures that the decoupled name get written properly to the database.s3_file_create
which is run on the server we are redirected to. This ensures that object is written to the correct S3 key.In the non-redirect case, the above two code paths still both call
update_physical_path_for_decoupled_naming
. This means that the code will iterate through the L1desc[] table twice (usually only one or two iterations as the entries are almost always in the first couple of slots) and update the physical_path twice. This is slightly inefficient.We should detect that this has already been executed on that server and not execute it a second time.
The text was updated successfully, but these errors were encountered: