Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL launch with launch timestamp not forcing recrawl #69

Open
anjackson opened this issue Jun 15, 2021 · 2 comments
Open

URL launch with launch timestamp not forcing recrawl #69

anjackson opened this issue Jun 15, 2021 · 2 comments

Comments

@anjackson
Copy link
Contributor

Launching a URL like this doesn't seem to work:

{
  "headers": {},
  "method": "GET",
  "parentUrl": "https://charmed-chemical-sky.glitch.me/",
  "parentUrlMetadata": {
    "pathFromSeed": "",
    "heritableData": {
      "refreshDepth": 1,
      "source": "longtime",
      "heritable": [
        "source",
        "heritable",
        "refreshDepth"
      ],
      "annotations": [
        "launchTimestamp:20300301120000"
      ],
      "launchTimestamp": "20300301120000",
      "launch_ts": "20300301120000"
    }
  },
  "isSeed": false,
  "forceFetch": false,
  "url": "https://charmed-chemical-sky.glitch.me/",
  "hop": "",
  "timestamp": "2021-06-15T15:30:57.426402"
}

But with forceFetch it seems to work okay...

{
  "headers": {},
  "method": "GET",
  "parentUrl": "https://charmed-chemical-sky.glitch.me/",
  "parentUrlMetadata": {
    "pathFromSeed": "",
    "heritableData": {
      "refreshDepth": 1,
      "source": "longtime",
      "heritable": [
        "source",
        "heritable",
        "refreshDepth"
      ],
      "annotations": [
        "launchTimestamp:20300301120000"
      ],
      "launchTimestamp": "20300301120000",
      "launch_ts": "20300301120000"
    }
  },
  "isSeed": false,
  "forceFetch": true,
  "url": "https://charmed-chemical-sky.glitch.me/",
  "hop": "",
  "timestamp": "2021-06-15T15:31:42.264611"
}
@anjackson
Copy link
Contributor Author

Ah, this will be the issue where the BdbUriUniqFilter can get in the way. When we are asking the crawler to re-prioritise a URL that is already somewhere in the frontier, we need to force it to be accepted.

@anjackson
Copy link
Contributor Author

Actually, I'll leave this open until I've documented it somewhere.

@anjackson anjackson reopened this Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant