Giter VIP home page Giter VIP logo

mariadb-documentation's Introduction

MariaDB Documentation

URL check

mariadb-documentation's People

Contributors

fauust avatar iangilfillan avatar icerath avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mariadb-documentation's Issues

Exit with code 1 due to network error: ProtocolUnknownError

Investigate why we have very frequently the following error, PDF generation with python3 main.py --quiet.

[INFO] 08:10:03 Generating en(2716)
[INFO] 08:11:16 Merging HTML
[INFO] 08:15:07 Starting wk
Traceback (most recent call last):
  File "/srv/kb/mariadb-documentation/mariadb_pdf/main.py", line 22, in <module>
    main()
  File "/srv/kb/mariadb-documentation/mariadb_pdf/main.py", line 16, in main
    generate_full_pdf(lang_csv, Path(f"output_{lang}"), config)
  File "/srv/kb/mariadb-documentation/mariadb_pdf/pdf/generate_pdf.py", line 17, in generate_full_pdf
    generate_sub_pdf(kburls, dir_path, config, outline)
  File "/srv/kb/mariadb-documentation/mariadb_pdf/pdf/generate_pdf.py", line 33, in generate_sub_pdf
    wkhtmltopdf(f"{dir_path}/{config.html_path}", dir_path / config.pdf_path, config)
  File "/srv/kb/mariadb-documentation/mariadb_pdf/pdf/generate_pdf.py", line 59, in wkhtmltopdf
    pdfkit.from_file(
  File "/srv/kb/mariadb-documentation/mariadb_pdf/.venv/lib/python3.11/site-packages/pdfkit/api.py", line 51, in from_file
    return r.to_pdf(output_path)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/srv/kb/mariadb-documentation/mariadb_pdf/.venv/lib/python3.11/site-packages/pdfkit/pdfkit.py", line 201, in to_pdf
    self.handle_error(exit_code, stderr)
  File "/srv/kb/mariadb-documentation/mariadb_pdf/.venv/lib/python3.11/site-packages/pdfkit/pdfkit.py", line 155, in handle_error
    raise IOError('wkhtmltopdf reported an error:\n' + stderr)
OSError: wkhtmltopdf reported an error:
Exit with code 1 due to network error: ProtocolUnknownError

Make sure STDOUT and STDERR are correctly handled

When generating the PDF, the following seems to go to STDERR:

[INFO] 08:10:03 Started
[INFO] 08:10:03 Generating en(2689)
[INFO] 08:11:16 Merging HTML
[INFO] 08:14:53 Starting wk
[INFO] 08:56:14 Wrote PDF to output_en/MariaDBServerKnowledgeBase.pdf
[INFO] 08:57:32 Merging HTML
[INFO] 08:59:51 Starting wk
[INFO] 09:39:53 Wrote PDF to output_en/MariaDBServerKnowledgeBase.pdf
[INFO] 09:39:53 Finished

This should not be the case.

Unclear documentation for "ALTER ONLINE TABLE"

https://mariadb.com/kb/en/alter-table/#alter-online-table states that

ALTER ONLINE TABLE ...;
[...] This statement is equivalent to the following: ALTER TABLE ... LOCK=NONE;

and then later

This statement is equivalent to the following:
ALTER TABLE ... ALGORITHM=INPLACE;

So, is ALTER ONLINE TABLE equivalent to ALTER TABLE ... LOCK=NONE, ALGORITHM=INPLACE?

If yes, it would be great to have that as a single line on top.

Currently, it makes the impression that all three statements (ALTER ONLINE, ALGORITHM=INPLACE, LOCK=NONE) are equivalent, which I'm not sure is correct. If that's the case, stating it explicitly would also help to clarify things.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.