open p1 1 ---- mkdir-all: p1 0755 open-dir: p1 open-dir: p1 create: p1/REMOTE-OBJ-CATALOG-000001 sync: p1/REMOTE-OBJ-CATALOG-000001 create: p1/marker.remote-obj-catalog.000001.REMOTE-OBJ-CATALOG-000001 close: p1/marker.remote-obj-catalog.000001.REMOTE-OBJ-CATALOG-000001 sync: p1 sync: p1/REMOTE-OBJ-CATALOG-000001 create 1 shared 1 100 ---- create object "61a6-1-000001.sst" close writer for "61a6-1-000001.sst" after 100 bytes create object "61a6-1-000001.sst.ref.1.000001" close writer for "61a6-1-000001.sst.ref.1.000001" after 0 bytes create 2 shared 2 100 ---- create object "a629-1-000002.sst" close writer for "a629-1-000002.sst" after 100 bytes create object "a629-1-000002.sst.ref.1.000002" close writer for "a629-1-000002.sst.ref.1.000002" after 0 bytes create 3 shared 3 100 ---- create object "eaac-1-000003.sst" close writer for "eaac-1-000003.sst" after 100 bytes create object "eaac-1-000003.sst.ref.1.000003" close writer for "eaac-1-000003.sst.ref.1.000003" after 0 bytes save-backing b1 1 ---- save-backing b2 2 ---- open p2 2 ---- mkdir-all: p2 0755 open-dir: p2 open-dir: p2 create: p2/REMOTE-OBJ-CATALOG-000001 sync: p2/REMOTE-OBJ-CATALOG-000001 create: p2/marker.remote-obj-catalog.000001.REMOTE-OBJ-CATALOG-000001 close: p2/marker.remote-obj-catalog.000001.REMOTE-OBJ-CATALOG-000001 sync: p2 sync: p2/REMOTE-OBJ-CATALOG-000001 create 4 shared 4 100 ---- create object "4c52-2-000004.sst" close writer for "4c52-2-000004.sst" after 100 bytes create object "4c52-2-000004.sst.ref.2.000004" close writer for "4c52-2-000004.sst.ref.2.000004" after 0 bytes attach b1 101 b2 102 ---- create object "61a6-1-000001.sst.ref.2.000101" close writer for "61a6-1-000001.sst.ref.2.000101" after 0 bytes size of object "61a6-1-000001.sst.ref.1.000001": 0 create object "a629-1-000002.sst.ref.2.000102" close writer for "a629-1-000002.sst.ref.2.000102" after 0 bytes size of object "a629-1-000002.sst.ref.1.000002": 0 sync: p2/REMOTE-OBJ-CATALOG-000001 000101 -> remote://61a6-1-000001.sst 000102 -> remote://a629-1-000002.sst # Remove of object with no other refs; backing object should be removed. remove 4 ---- delete object "4c52-2-000004.sst.ref.2.000004" list (prefix="4c52-2-000004.sst.ref.", delimiter="") delete object "4c52-2-000004.sst" # Object shared with p2; backing object should not be removed. remove 101 ---- delete object "61a6-1-000001.sst.ref.2.000101" list (prefix="61a6-1-000001.sst.ref.", delimiter="") - 61a6-1-000001.sst.ref.1.000001 switch p1 ---- # Object no longer shared with p1; backing object should be removed. remove 1 ---- # Object shared with p1; backing object should not be removed. remove 2 ---- switch p2 ---- remove 102 ---- delete object "a629-1-000002.sst.ref.2.000102" list (prefix="a629-1-000002.sst.ref.", delimiter="") - a629-1-000002.sst.ref.1.000002