Skip to content
Snippets Groups Projects
  1. Aug 22, 2024
  2. Aug 12, 2024
  3. Aug 08, 2024
  4. Jul 30, 2024
  5. Jul 25, 2024
  6. Jul 18, 2024
    • Dmitry Rodionov's avatar
      chore: remove dependency on aws-lc-rs brought by pgwire · 2630ace7
      Dmitry Rodionov authored
      The problem appeared in form of a failed debian package build. aws-lc-rs
      build script was failing with:
      
      thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/aws-lc-sys-0.19.0/builder/cc_builder.rs:244:13:
      Your compiler (cc) is not supported due to a memcmp related bug
      reported in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189.We
      strongly recommend against using this compiler.
      
      Since we use system openssl we dont need to rely on these backends.
      
      Error message is probably correct, so upgrading the compiler is still a
      good idea.
      2630ace7
  7. Jul 12, 2024
  8. Jul 05, 2024
  9. Jul 04, 2024
  10. Jul 02, 2024
  11. Jul 01, 2024
  12. Jun 28, 2024
  13. Jun 21, 2024
  14. Jun 04, 2024
  15. May 28, 2024
  16. May 24, 2024
  17. May 22, 2024
    • godzie44's avatar
      chore(plugins): plugin system improvements · 664f32d8
      godzie44 authored and Georgy Moshkin's avatar Georgy Moshkin committed
      - add description field to `_pico_plugin` and `_pico_service`
      - plugin loading: filter files by its extensions
      - plugin loading: check possible service collisions
      - plugin loading: now plugin searching at {plugin_dir}/{plugin_name} path
      - now all errors between plugin and picodata wrapping with `BoxError` (this protects plugin caller from UAF)
      664f32d8
  18. May 15, 2024
  19. May 08, 2024
  20. Apr 10, 2024
  21. Apr 09, 2024
    • godzie44's avatar
      feature: plugins · 26b11774
      godzie44 authored and Yaroslav Dynnikov's avatar Yaroslav Dynnikov committed
      Introduce a plugin system for picodata cluster.
      Plugin system contains:
      - `picoplugin` crate with plugin interfaces.
      This crate exposes plugin interfaces for user implementation and API
      that used by picodata to interact with plugin as with a code from dynamic library.
      - Support for plugin work cycle in picodata instance work cycle.
      Picodata instance interacts with running plugin by `PluginManager`
      component.
      Typically, plugins react to events that occur in instance or whole cluster.
      - New lua API with plugin CRUD actions.
          - pico.create_plugin - load a new plugin into picodata cluster
          - pico.remove_plugin - remove plugin from picodata cluster
          - pico.update_plugin_config - update plugin service configuration
      26b11774
  22. Apr 08, 2024
  23. Mar 21, 2024
  24. Mar 06, 2024
  25. Feb 26, 2024
  26. Feb 20, 2024
    • Arseniy Volynets's avatar
      refactor: move tracing from sbroad to picodata · 598ffbf4
      Arseniy Volynets authored
      - Update sbroad submodule to commit,
      with refactored tracing api: tracer
      can be provided by library user (us).
      - Use tracer that creates traces under
      admin, because traces are created randomly
      for 1% of the queries and the user may not
      have the privileges to create/modify tracing
      tables
      - Move tracing related logic to picodata repo.
      In particular, now all tables storing tracing
      - Add sql tests that were removed from sbroad
      during refactoring
      - added extra parameter 'query_id' to pico.sql
      lua api. 'query_id' is used to identify
      each query in tracing tables, if not specified
      hash function on query text is used.
      - changed signature of pico.sql to:
      pico.sql(pattern[, params, options)
      options={'traceable'=boolean,'query_id'=string}
      598ffbf4
  27. Feb 07, 2024
  28. Jan 31, 2024
  29. Jan 30, 2024
    • Dmitry Rodionov's avatar
      chore: make static build default · 1bc0604f
      Dmitry Rodionov authored
      Having dynamic build as a default was dictated by certification and now
      when we merged certification patches back to master it started to cause
      friction. So this patch makes static build the default and introduces
      dynamic_build cargo feature instead of static_build one.
      1bc0604f
  30. Jan 26, 2024
    • Feodor Alexandrov's avatar
      feat: shredding option for .xlog and .snap deletion · d48683ce
      Feodor Alexandrov authored
      1. Add a new option picodata run --shredding to enable shredding upon xlog_remove_file_impl.
      2. For test purposes additionally use the inject_errors feature to keep files after shred operation
      and allow the test code to look inside and make sure that content was really shredded.
      d48683ce
  31. Jan 22, 2024
  32. Jan 19, 2024
  33. Dec 07, 2023
  34. Dec 03, 2023
  35. Nov 24, 2023
    • Dmitry Ivanov's avatar
      feat(audit): remove irrelevant fields from log entries · e27a0b47
      Dmitry Ivanov authored
      Now the records look like this:
      
      ```
      {
        "message": "instance is starting",
        "severity": "low",
        "time": "2023-11-22T22:10:24.211+0300",
        "title": "local_startup"
      }
      {
        "message": "target grade of instance `i1` changed to Online(7)",
        "severity": "low",
        "time": "2023-11-22T22:10:24.334+0300",
        "title": "change_target_grade"
      }
      {
        "message": "current grade of instance `i1` changed to Replicated(7)",
        "severity": "medium",
        "time": "2023-11-22T22:10:24.436+0300",
        "title": "change_current_grade"
      }
      ```
      e27a0b47
  36. Nov 23, 2023
Loading