Commit Graph

27247 Commits

Author SHA1 Message Date
Zhe Wang 8e099d276d
Improve checkall tool (#11440) (#11476)
* improve checkall

* fmt

* simplify

* nit

* simplify

* nit
2024-06-25 23:56:12 -07:00
Johannes Scheuermann ffd43514f4
Add support for the isolate process group annotation to shutdown fdbserver processes (#11464)
* Add support for the isolate process group annotation to shutdown fdbserver processes
2024-06-24 17:01:23 +02:00
Jingyu Zhou eebcf8224c
Merge pull request #11472 from danthegoodman1/main
Configuration changes for Golang example to work on Apple Silicon out of the box
2024-06-24 16:46:36 +08:00
Dan Goodman 1b27325a42 Configuration changes to work on Apple Silicon out of the box 2024-06-21 12:16:46 -04:00
Sreenath Bodagala 93b62f6299
- Cleanup error/trace messages logged in the context of replica comparison (#11467) 2024-06-18 17:33:19 -04:00
Jingyu Zhou 8fb2e05582
Merge pull request #11463 from customerio/issue_1537_main_squash
merge changes for issue_1537 to main
2024-06-18 18:06:43 +08:00
Johannes Scheuermann dd7ce328d7
fdbkubernetesmonitor: Retry update pod annotations in case of an error (#11458) 2024-06-18 11:02:09 +02:00
Simon Waldherr b4126f364e fix two misspelled words 2024-06-17 16:38:28 -05:00
Sreenath Bodagala d7eb028b2a
Enable replica consistency check on data movement (#11415)
* - Enable replica consistency check on data movement (and, randomly, on
all reads)

* - Address PR review comments
2024-06-17 17:07:32 -04:00
Xiaoge Su 20fddc8eb4 fixup! Reformat source 2024-06-17 11:41:06 -07:00
Xiaoge Su 3e3eee98fc fixup! Reformat source 2024-06-17 11:41:06 -07:00
Xiaoge Su afc04366fb Rewrite BUGGIFY related code
This is a rewrite of BUGGIFY function/macros. Seems the performance
improved a lot during the simulation, e.g.

fdbserver -r simulation -b on -f ../CycleTest.toml -s 99438

Without this patch:

Unseed: 54646
Elapsed: 494.091327 simsec, 14.586831 real seconds

With this patch:

Unseed: 54646
Elapsed: 494.091327 simsec, 12.580612 real seconds

I expected the improvement but did not expect a ~13% improvement.
2024-06-17 11:41:06 -07:00
Xiaoge Su c21c6c6ac3 fixup! Another ASSERT with side effect 2024-06-17 11:41:06 -07:00
Xiaoge Su 0b96d52eec fixup! Remove a stateful ASSERT statement 2024-06-17 11:41:06 -07:00
Matthew Newhook 308f5fecdf remove changes that snuck in 2024-06-16 16:18:52 +00:00
Matthew Newhook 4379fb45b0 merge changes for issue_1537 to main 2024-06-16 16:17:17 +00:00
nicmorales9 86c897122f
Merge pull request #11460 from nicmorales9/fkm-tls
Add TLS support to fdb kubernetes monitor
2024-06-15 11:35:43 +01:00
Nicole Morales 491ea62c94 move certloader to internal folder 2024-06-14 17:02:49 +01:00
Nicole Morales 4d09fa1379 review fixes 2024-06-14 17:01:43 +01:00
Nicole Morales 74d37299cf add TLS ability to fdb kubernetes monitor 2024-06-14 17:01:10 +01:00
Johannes Scheuermann 3c4f5f655c
Add a mechanism to allow to specifiy the command line flags over env variables (#11462) 2024-06-14 17:44:21 +02:00
Johannes Scheuermann d2dd3bce5a
Add support in the fdb-kubernetes-monitor to read node labels (#11431)
* Add support in the fdb-kubernetes-monitor to read node labels
2024-06-14 06:41:48 +01:00
Johannes Scheuermann 1ab7a33bcf
Initial add of custom prometheus metrics (#11451) 2024-06-12 18:34:16 +02:00
Johannes Scheuermann 1a7f1c9452
fdbkubernetesmonitor: Update the pod annotation if the cluster file changes (#11455) 2024-06-12 17:12:08 +02:00
Johannes Scheuermann e7f19ab870
Remove some steps are only needed once (#11450) 2024-06-12 11:08:12 +02:00
Jingyu Zhou f27bc4ac2b
Merge pull request #11449 from apple/dependabot/pip/tests/authorization/authlib-1.3.1
Bump authlib from 1.0.1 to 1.3.1 in /tests/authorization
2024-06-12 08:56:22 +08:00
Johannes Scheuermann 970db3896e
Add exponential backoff mechanism for restarting fdbserver processes in the monitor (#11447) 2024-06-11 15:51:15 +02:00
dependabot[bot] fe946da0fb
Bump authlib from 1.0.1 to 1.3.1 in /tests/authorization
Bumps [authlib](https://github.com/lepture/authlib) from 1.0.1 to 1.3.1.
- [Release notes](https://github.com/lepture/authlib/releases)
- [Changelog](https://github.com/lepture/authlib/blob/master/docs/changelog.rst)
- [Commits](https://github.com/lepture/authlib/compare/v1.0.1...v1.3.1)

---
updated-dependencies:
- dependency-name: authlib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 16:03:40 +00:00
Doğan Çeçen edbdd74acf Fix bindingTestScript.sh shebang and use /usr/bin/env to find bash
This change allows people to run this script on macOS, which has quite an old version of bash at /bin/bash. Without it, I see the following error:

```
build/bindingtester/localClusterStart.sh: line 209: syntax error near unexpected token `>'
build/bindingtester/localClusterStart.sh: line 209: `  elif "${BINDIR}/fdbcli" -C "${FDBCONF}" --exec "kill; kill ${FDBCLUSTERTEXT}; sleep 3" --timeout 120 &>> "${LOGDIR}/fdbcli-kill.log"'
```

Also, note that the old shebang in bindingTestScript.sh was also missing the ! character.

localClusterStart.sh didn't need to be changed since it is directly sourced by
bindingTestScript.sh, but there's no harm to correct it, and it could perhaps
become useful if one tries to use it directly.
2024-06-05 08:43:34 -05:00
Xiaoge Su 7a84fe888f Add documentation for metadata version system key 2024-06-05 00:44:25 -07:00
Giuseppe ef7aa271ac
Go: do not automatically close database objects (#11394)
Setting the finalizer prevents user from calling Close(),
as it would randomly result in SIGSEGV or some other silent memory corruption.
No finalizer is set for the database and user is expected to call Close() to
avoid memory leaks.
2024-06-04 16:06:49 +02:00
Andrew Noyes 503b911c03
Merge pull request #11435 from atn34/atn34/remove-ptree-search
Remove two ptree searches when processing a clear
2024-05-31 17:05:09 -07:00
Jingyu Zhou f1d8c5fd5a
Merge pull request #11416 from neethuhaneesha/disableTests
Excluding some sharded rocksdb tests in simulation
2024-05-30 14:03:23 -07:00
Andrew Noyes 7dc1281319 Remove two ptree searches when processing a clear 2024-05-30 11:50:17 -07:00
Jingyu Zhou 790d661fa2
Merge pull request #11428 from johscheuer/fdb-kubernetes-monitor-fix-sidecar-copy-binary
Correct the path where the fdb-kubernetes-monitor copies the binary into when running in sidecar mode
2024-05-29 17:38:23 -07:00
neethuhaneesha a7498b50ad Excluding some sharded rocksdb tests in simulation 2024-05-29 13:28:31 -07:00
Jingyu Zhou 426157795f
Merge pull request #11366 from gm42/fix/set-span-parent-doc
Go binding: do not commit read-only transactions
2024-05-29 08:36:07 -07:00
Zhe Wang ad646daf12
disable tenant in downgrade test (#11432) 2024-05-24 17:52:01 -07:00
Jingyu Zhou 000c3089bd
Merge pull request #11430 from kakaiu/fix-GroupTenant-restarting-test
Fix compatibility issue by GroupTenant in upgrading tests
2024-05-24 09:03:29 -07:00
Johannes M. Scheuermann f4cf5ac7bf Revert variable renaming 2024-05-24 14:55:24 +02:00
Zhe Wang 62c2f8fe6d split from_6.3.13 into from_6.3.13_until_7.3.0 and from_7.3.0 and the latter one disables tenant in the first test 2024-05-24 00:06:43 -07:00
Zhe Wang 67b8c2448a Fix compatibility issue by GroupTenant in restarting tests 2024-05-23 23:14:48 -07:00
Jingyu Zhou 87383aa627
Merge pull request #11429 from kakaiu/disable-checksum-in-downgrade-test
Fix mutation checksum and accumulative checksum in downgrade test
2024-05-23 21:18:43 -07:00
Zhe Wang 96f246c491 address comments 2024-05-23 16:57:52 -07:00
Zhe Wang 0dbb343da5 fix checksum in downgrade test 2024-05-23 14:01:53 -07:00
Jingyu Zhou c31bd6d7a0
Merge pull request #11425 from kakaiu/fix-restart-test-dmid
Fix data move id decoding compatibility issue  in upgrading tests
2024-05-23 13:08:10 -07:00
Jingyu Zhou c0ebab080c
Merge pull request #11426 from jzhou77/release-notes
Remove FDBLibTLS directory
2024-05-23 09:31:18 -07:00
Johannes M. Scheuermann 300db7df41 Correct the path where the fdb-kubernetes-monitor copies the binary into when running in sidecar mode 2024-05-23 14:17:32 +02:00
Zhe Wang 9af7eb7422 rebase and comments 2024-05-22 21:53:10 -07:00
Jingyu Zhou 62e9fd6357 Remove FDBLibTLS directory
The library is only needed for FDB 5.1 version.
2024-05-22 20:24:04 -07:00