code: private void deleteShardedLinkTermRows() {
          // When link is shard, its sharded extent table is also sharded.
          Set<Integer> shardNums = SpiderService.instance().getShards(m_invTableDef).keySet();
          for (Integer shardNumber : shardNums) {
              m_dbTran.deleteShardedLinkRow(m_linkDef, m_dbObj.getObjectID(), shardNumber);
          }
      }
docs: Delete all possible term rows that might exist for our sharded link.