Prepopulate UUIDs to MRG to improve startup times.
- [x] Pre-populate UUIDs to MRG on start (from SQLite)
- [x] Cleanup obsolete UUIDs from MRG once finished
This improves startup times by 3x to 5x.
---------
Co-authored-by: vkalintiris <vasilis@netdata.cloud>
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
* allow users to install any version; stop netdata before installing the update
* fix compatibility with wix 4
* fix-msi: Remove conflict between options (https://docs.firegiant.com/wix3/xsd/wix/majorupgrade/)
* fix-msi: Comment not allowed code. We cannot have more than one primary key listed (FileInUse)
* fix-msi: Add Power Shell script to be called after installation
* fix-msi: Copy power shell script to installer.
* fix-msi: Add option to do download and move PS file
* fix-msi: First try run at the end
* iis_ad: Fix wrong execution order and call to powershell
* fix-msi: Add messages and test to Power Shell script
---------
Co-authored-by: thiagoftsm <thiagoftsm@gmail.com>
* Refactor ACLK sync shutdown process
* Mark all pending queries as cancelled
Wait at most 5 seconds for queries to timeout before force stopping the ACLK sync thread
* Refactor logging in ACLK synchronization process
* Improve logging message for ACLK request snapshot creation
* no status should not be reported as crash
* save and restore errno when saving status file
---------
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
* Centralize cache path handling.
* Add better debugging support for static build infrastructure.
* Centralize handling of git repository fetching for static builds.
* Centralize build directory handling in the static build.
And quit using a sub-directory of packaging/makeself from the source
tree for it.
* Remove version numbers from static build jobs.
* Better organize static build jobs.
0x numbers for non-build prep-work
1x numbers for libraries that potentially impact multiple other things
we vendor.
2x numbers for libraries that are direct dependencies of Netdata
3x numbers for combined libraries and tooling used by Netdata
4x numbers for general tooling used by Netdata
5x numbers for tooling used by single specific components
6x numbers for non-build prep-work for the Netdata build
7x numbers for the actual build of Netdata
8x numbers for post-build checks
9x numbers for the actual packaging
* Clean up variable handling in Netdata build job.
* Split post-build handling steps to their own jobs.
This will make it easier to see what is actually going on in the build
process.
* Clean up CI messages.
* Split archive creation sub-steps into indivudal jobs.
* Disable shell tracing for archive creation job.
It’s not needed in 99.9% of cases, and should only be enabled locally if
it is needed.
* Assorted fixes for code restructuring.
* Tidy up paths for runtime check.
* Fix CI handling of artifacts.
Without this, the way our build works causes it to get updated and
rebuilt (and thus trigger relinking of multiple parts of the agent) when
`cmake --install` is called, which in turn makes installs take much
longer.
* show the pointers when pgc contains a different address
* anonymize stack traces when generating hashes
* parse fault_address
* keep stack traces filenames after /src/
* annotate crash and healthy loops
* log successful and failed posts to agent-events
* move the already running fatal() outside of netdata_main()
* count the number of posts made to the backend
* added more info to crash reports init step, to find where the killed hard is happening
* add aclk status to daemon status file
* also check for localhost
* remove the cloud "connecting" state
* avoid duplicates
* Disable generation of debuginfo packages for DEB distros.
actually need to the debuginfo to work correctly, so split debug symbols don’t
Our automatic stacktrace logging and crash reporting functionality
really make sense for our use case.
* Only disable split debuginfo for core, not plugins.
We don’t do crash reporting or stack trace logging for plugins, so they
can still use the split debug info packages.
* Work around bugs in Debian 11 and Ubuntu 20.04.