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

Execution Context integration for Database write operations #7072

Merged
merged 34 commits into from
Jun 27, 2023

Commits on Jun 27, 2023

  1. add a missing TODO

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    f0e67dc View commit details
    Browse the repository at this point in the history
  2. note about read side effects

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    1a24fd0 View commit details
    Browse the repository at this point in the history
  3. part1:

    Disable execute_update (used by most effectful DB ops) and add tests for this + higher levle dry runs (TODO implement)
    
    fixes
    
    adding dual mode checks
    
    Adding notes about dry runs
    
    adding more dry run tests
    
    make table_name always required
    
    checkpoint
    
    fixes
    
    adapting tests to compulsory table names
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    447d5ae View commit details
    Browse the repository at this point in the history
  4. undo with_finalizer, as this was unnecessary and could fail if drop c…

    …alled during a failed transaction; but some DBs (currently unsupported) may have trouble with not rolling-back CREATE TABLE - so we also add a test to check no garbage is left over
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    dcb409c View commit details
    Browse the repository at this point in the history
  5. EC support:

    Implement EC support for `create_table`
    
    refactoring, add EC support for `select_into_database_table`
    
    add EC support for `update_database_table`
    
    fixes
    
    fixes
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    a79d33d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a831d1e View commit details
    Browse the repository at this point in the history
  7. Revert "debugging crazy transaction issue"

    This reverts commit 908b984cb3bec16366c33341eca97754f0bf24e6.
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    ab0e71d View commit details
    Browse the repository at this point in the history
  8. fixes, API update

    fix: spurious commit after table upload
    
    fixes
    
    rephrase
    
    change API to rely on Table target instead of Connection+name
    
    fixes, adapting tests
    
    fixes
    
    remove obsolete `insert` helper
    
    fixes
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    6f7f50f View commit details
    Browse the repository at this point in the history
  9. changelog

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    b7a91b8 View commit details
    Browse the repository at this point in the history
  10. hidden tables part 1

    Implement Hidden_Table_Registry
    
    stack overflow bug
    
    temporary fix
    
    fix
    
    temporary fix
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    aefa3f4 View commit details
    Browse the repository at this point in the history
  11. proper workaround for #7093

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    0d8a5d3 View commit details
    Browse the repository at this point in the history
  12. CR - part 2

    Add a check for transaction support.
    
    remove outdated check
    
    grow builder on seal to ensure all present
    
    CR1: Connection
    
    CR2: rephrasing docs
    
    CR2: Dry_Run_Operation
    
    clearer method names
    
    CR4: code style
    
    javafmt
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    bfd329d View commit details
    Browse the repository at this point in the history
  13. make the test more stable

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    ee6e1b7 View commit details
    Browse the repository at this point in the history
  14. synchronization - attempt 1

    improve ref counting
    
    checkpoint
    
    add a test for not overwriting pre-existing tables
    
    OperationSynchronizer
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    11e9de7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7978166 View commit details
    Browse the repository at this point in the history
  16. Rewrite synchronizer and registry to drop tables at maintenance just …

    …before some DB operations. Better keep track of allocated dry run tables and ensure that a dry run name does not collide with a pre-existing user table.
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    904c979 View commit details
    Browse the repository at this point in the history
  17. fixes

    fetch much less data when checking table existence
    
    fixes
    
    how have I missed dry run for update????; also improve random table generator
    
    fix tests and add a test case for upload
    
    my bad, that was actually correct the first time...
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    6be6417 View commit details
    Browse the repository at this point in the history
  18. workaround for #7117 bug

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    4bcdc16 View commit details
    Browse the repository at this point in the history
  19. fixes, formatting

    fix
    
    fixes
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    2e5b7eb View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    499b619 View commit details
    Browse the repository at this point in the history
  21. Revert "switch to truffle-sdk instead of truffle-api for helper l…

    …ibs"
    
    This reverts commit 0c98ff81dd4d95ad38cfbfe5e8872b9c546cbeb7.
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    f8a0da9 View commit details
    Browse the repository at this point in the history
  22. CR

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    0535aac View commit details
    Browse the repository at this point in the history
  23. better error messages

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    c569385 View commit details
    Browse the repository at this point in the history
  24. fix missing dep

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    b021973 View commit details
    Browse the repository at this point in the history
  25. fixes

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    5d0830d View commit details
    Browse the repository at this point in the history
  26. fixing legal review pt1

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    85d2d8b View commit details
    Browse the repository at this point in the history
  27. change truffle-api to

    `"org.graalvm.sdk" % "graal-sdk" % graalVersion % "provided"` in helper Java libs
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    6f13755 View commit details
    Browse the repository at this point in the history
  28. remove references to Truffle API from std-database; maintenance actio…

    …n failure will now be reported to stderr
    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    9faa8bf View commit details
    Browse the repository at this point in the history
  29. Update LR report

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    326ae9e View commit details
    Browse the repository at this point in the history
  30. testing logger

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    c4a501f View commit details
    Browse the repository at this point in the history
  31. better error messages

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    eee0da3 View commit details
    Browse the repository at this point in the history
  32. javafmt

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    04557a9 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    dcb079d View commit details
    Browse the repository at this point in the history
  34. CR

    radeusgd committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    fdafcab View commit details
    Browse the repository at this point in the history