delete( String lfn, ReplicaCatalogEntry tuple ) broken for JDBCRC

XMLWordPrintable

      I noticed that the function
      delete( String lfn, ReplicaCatalogEntry tuple ) is broken for JDBCRC.

      To test it ,

      in RCClient.java line 564, change the boolean parameter to true from false
      result = m_rc.delete(entries, false);

      I used these mappings
      corbusier:jdbcrc vahi$ cat rc.in
      f.a gsiftp://sukhna.isi.edu/tmp/f.a pool="sukhna" karan="vahi"
      f.b gsiftp://corbusier.isi.edu/tmp/f.b pool="local"
      f.c gsiftp://corbusier.isi.edu/tmp/f.c pool="local"

      Notice it has additional attribute key value pair

      in my database
      sqlite> select * from rc_lfn;
      27|f.a|gsiftp://sukhna.isi.edu/tmp/f.a|sukhna
      29|f.b|gsiftp://corbusier.isi.edu/tmp/f.b|local
      28|f.c|gsiftp://corbusier.isi.edu/tmp/f.c|local

      sqlite> select * from rc_attr;
      27|karan|vahi

      however, now when i run pegasus-rc-client --delete option against same mappings file, the database still have the mapping in rc_attrib table
      sqlite> select * from rc_lfn;
      sqlite> select * from rc_attr;
      27|karan|vahi

            Assignee:
            Rafael Ferreira Da Silva (Inactive)
            Reporter:
            Karan Vahi
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: