Print

Print


Hello,

I've noticed that running a delete operation through a proxy with disk caching enabled (PSS + PFC components) goes through and deletes the file from the origin but the local copy is still kept.

Setup:
client --> proxy (with cache) --> origin

Steps to reproduce:

  1. write file from client to origin
  2. read file from proxy (file gets cached)
  3. send delete command to the proxy (file gets deleted on origin)
  4. read file from proxy (local copy is served)

Log messages from the proxy:

180314 16:59:21 1277 XrdInet: Accepted connection from [log in to unmask] 180314 16:59:21 1277 XrdProtocol: matched protocol xrootd 180314 16:59:21 1277 ?:21@xdc-test-fst1 XrdPoll: FD 21 attached to poller 0; num=1 180314 16:59:21 1257 XrdSched: running main accept inq=0 180314 16:59:21 1277 ?:21@xdc-test-fst1 XrootdProtocol: 0000 req=login dlen=96 180314 16:59:21 1277 sec_getParms: xdc-test-fst1.cern.ch sectoken=&P=sss,0.13:/etc/eos.keytab&P=unix 180314 16:59:21 1277 root.23091:21@xdc-test-fst1 XrootdResponse: 0000 sending 50 data bytes; status=0 180314 16:59:21 1277 root.23091:21@xdc-test-fst1 XrootdProtocol: 0000 req=auth dlen=151 sec_PM: Using sss protocol, args='0.13:/etc/eos.keytab' 180314 16:59:21 1277 root.23091:21@xdc-test-fst1 XrootdResponse: 0000 sending OK 180314 16:59:21 1277 XrootdXeq: root.23091:21@xdc-test-fst1 pub IP46 login as daemon 180314 16:59:21 1277 root.23091:21@xdc-test-fst1 XrootdProtocol: 0100 req=rm dlen=26 180314 16:59:21 1277 root.23091:21@xdc-test-fst1 ofs_remove: f fn=/eos/xdc/testing/delete.me 180314 16:59:21 1277 Posix_P2L: unlink /eos/xdc/testing/delete.me pfn2lfn p9 180314 16:59:21 1277 root.23091:21@xdc-test-fst1 XrootdProtocol: 0100 rc=0 rm /eos/xdc/testing/delete.me 180314 16:59:21 1277 root.23091:21@xdc-test-fst1 XrootdResponse: 0100 sending OK

I supposed the expected outcome would be for the file to get deleted from the cache as well.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"PSS + PFC delete operation: file gets deleted from origin but not from the cache (#669)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/669"}}}

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1