Skip to content

Conversation

@rti
Copy link
Contributor

@rti rti commented Sep 4, 2024

rti and others added 3 commits September 3, 2024 06:37
This adds some documentations about the issue where WDQS crashes when
restarted with an empty database that never synced entities from
MediaWiki.

https://phabricator.wikimedia.org/T354266
@rti rti requested review from a team and datn September 4, 2024 09:44
…:wmde/wikibase-release-pipeline into T372177-improve-docs-for-running-locally
@datn
Copy link
Member

datn commented Sep 6, 2024

Sorry, I was out sick. Looking at this now --

@datn
Copy link
Member

datn commented Sep 6, 2024

I made the language a little bit clearer, but I have a thought on the technical side of things as an old DNS head. "example.com" is indeed publicly resolvable, just not to the thing people might want it to resolve to :)

$ host example.com
example.com has address 93.184.215.14
example.com has IPv6 address 2606:2800:21f:cb07:6820:80da:af6b:8b2c
example.com mail is handled by 0 .

$ whois 93.184.215.14
inetnum:        93.184.212.0 - 93.184.215.255
netname:        EDGECAST-NETBLK-03
descr:          NETBLK-03-EU-93-184-212-0-22
country:        EU
admin-c:        DS7892-RIPE
tech-c:         DS7892-RIPE
status:         ASSIGNED PA
mnt-by:         MNT-EDGECAST
created:        2012-06-22T21:48:10Z
last-modified:  2012-06-22T21:48:10Z
source:         RIPE # Filtered
% This query was served by the RIPE Database Query Service version 1.113.2 (DEXTER)

If we're going all the way out on a limb advising them to make /etc/hosts changes, we may want to suggest that they use either their own domain or a truly unresolvable domain like "yournamehere.wikibase". Just a thought --

@rti
Copy link
Contributor Author

rti commented Sep 10, 2024

So this is interesting. Even examples can be difficult 😄

I like your point. RFC2606 suggests to use e.g. .example as a TLD to prevent overlap with actual DNS entries. So I think we actually could switch completely to *.example.

rti and others added 2 commits September 10, 2024 12:43
@rti
Copy link
Contributor Author

rti commented Sep 10, 2024

@datn done. Do you mind re-reviewing?

Copy link
Member

@datn datn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rti rti merged commit 4e5c421 into main Sep 10, 2024
@rti rti deleted the T372177-improve-docs-for-running-locally branch September 10, 2024 12:06
lorenjohnson pushed a commit to lorenjohnson/wbs-deploy-setup that referenced this pull request Aug 20, 2025
* docs(wdqs): details about the empty sync issue

This adds some documentations about the issue where WDQS crashes when
restarted with an empty database that never synced entities from
MediaWiki.

https://phabricator.wikimedia.org/T354266

* small edits to the new text

* docs(deploy): clarify running locally without dns

* T372177-improve-docs-for-running-locally clarified language just a tad

* docs: switching example domain to .example tld

This appears to be the more appropriate domain name to use as it
explicitly targets DNS resolution related code.

https://datatracker.ietf.org/doc/html/rfc2606#section-2

---------

Co-authored-by: Dan Shick <dan.shick@wikimedia.de>
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

Successfully merging this pull request may close these issues.

3 participants