Skip to content

main2 -> graph_v2 #7

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

Draft
wants to merge 337 commits into
base: graph_v2
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
337 commits
Select commit Hold shift + click to select a range
b508586
Add kv workload select --stale-ro option (#4764)
kunga May 23, 2024
79aa281
oidc proxy AuthorizationServer redirect on wrong state (#4641)
StekPerepolnen May 23, 2024
34e9cf8
fix useless snapshot refresh in case no data in db (#4777)
ivanmorozov333 May 23, 2024
50b9d76
improve optimizer performance (#4776)
ivanmorozov333 May 23, 2024
7cab7c7
Integrated checks (#4800)
alexv-smirnov May 23, 2024
0342dc0
Make max commit size configurable with icb (#4774)
snaury May 23, 2024
95371ef
Fix ReadLogContinue race on stop (#4791)
alexvru May 23, 2024
2ed4009
YQL-18464: Fix Remove UDFs for NonASCII input (#4789)
igormunkin May 23, 2024
a89fd80
YDBDOCS-188 FluentBit - not just K8s (#4635)
zinal May 24, 2024
b7a7428
[cms.proto] increase default DisabledNodesRatioLimit (#4770)
blinkov May 24, 2024
ae4e8d5
YDBDOCS-690: introduce the restart article for Ansible clusters (#4807)
blinkov May 24, 2024
13b74c9
Implement ListTop/ListTopSort builtins (#4231)
May 24, 2024
9529d2c
Revert file cycles detection (#4802)
vitstn May 24, 2024
d25e35f
YQL-18463: Adjust BadFromPythonLong for Python 2.x (#4812)
igormunkin May 24, 2024
356726c
Recursive CTE, runtime part (#4759)
vitstn May 24, 2024
2bb6c6a
Add description of new ICB controls for CMS (#4818)
serbel324 May 24, 2024
6f48846
Use data() for getting pointer instead of begin() (#4816)
4JustMe4 May 24, 2024
d1fcb9c
Check alter version only for ss applyIf (#3823)
niksaveliev May 24, 2024
bf1924a
improve validation (#4824)
ivanmorozov333 May 24, 2024
bead065
Add type white-list for supported types on blockreader (#4268)
MrLolthe1st May 24, 2024
69d3866
YQ-3157 batch script result fetch by size (#4219)
GrigoriyPA May 24, 2024
d54df30
Split COUNTER_PROPOSE_QUEUE_SIZE (#4823)
azevaykin May 24, 2024
7bd251f
EnforceUserTokenCheckRequirement option: require token check if token…
UgnineSirdis May 24, 2024
f6fa669
improve CS-resharding (#4775)
ivanmorozov333 May 24, 2024
9a98b9f
Fix links and add conditions (#4811)
Pseudolukian May 24, 2024
9c3896d
YQL-18419 create callback that checks RSS and limits memory usage (#4…
lll-phill-lll May 24, 2024
570e2c2
[docs] fix repo name in logging.md (#4806)
blinkov May 24, 2024
6569863
Improve build time for YT provider (#3930)
alephonea May 24, 2024
bb73563
[] Removed cross join transform before saving explain plan (#4384)
pashandor789 May 24, 2024
2ab72bc
improve exception safety while handling compile errors (#4827)
gridnevvvit May 24, 2024
e830a11
Refactoring to perform cardinality estimation specifically for YT. (#…
alephonea May 24, 2024
ee6a5b9
PG types: replace Y_ABORT_UNLESS with yexception (#4842)
azevaykin May 24, 2024
665c03b
Add 'constraints' to s3 bindings (#4849)
resetius May 24, 2024
4ba2617
cleanup resource manager & node service (#4624)
gridnevvvit May 25, 2024
ca744ec
YDBDOCS-519: translate several config-related articles (#4845)
blinkov May 26, 2024
920deae
Fix coredump on abort (#4854)
ivanmorozov333 May 26, 2024
e8076a8
speed up through don't ask type each comparison (valuable on flame gr…
ivanmorozov333 May 26, 2024
20ac289
fix corner case for memory prediction (#4856)
ivanmorozov333 May 26, 2024
8f381d4
cleaning useless proto data (#4857)
ivanmorozov333 May 26, 2024
c503e71
Add constraings to bindings (#4867)
resetius May 26, 2024
45e5cb3
Use primary_keys in CBO Statistics for s3 provider (#4865)
resetius May 26, 2024
5b4cd2c
Fix misprint (#4868)
resetius May 26, 2024
b9a6345
YDBDOCS-691: move out recipes out of SDK reference + add a couple ext…
blinkov May 27, 2024
b098b52
YQ-2068 ut for generic provider lookup actor (#4246)
zverevgeny May 27, 2024
0a916d0
Autoscaling control plane (#4486)
niksaveliev May 27, 2024
d90f291
speed up records merge (#4822)
ivanmorozov333 May 27, 2024
59846a7
YQL-18468 fix wrong gracejoin answer with spilling on q12 tpc-h (#4830)
lll-phill-lll May 27, 2024
d699d50
only open shards usage in kqp (#4863)
ivanmorozov333 May 27, 2024
cb83f09
Support default from sequence (#4826)
shnikd May 27, 2024
3c24073
DbgPrintValue for Pg types (#4847)
azevaykin May 27, 2024
635f97b
Make multiproto.py compatible with protobuf 3.20.0 (#4821)
4JustMe4 May 27, 2024
eaa6786
Pass limits to provider format routines (#4653)
rvu1024 May 27, 2024
a11d489
Add build-analytics workflow (#4878)
maximyurchuk May 27, 2024
9192edc
fix use after move (#4872)
nshestakov May 27, 2024
d5f8f4e
Fix bug in distconf drive enumeration code (#4873)
alexvru May 27, 2024
7c87ed4
Add build bloat tool (#4880)
maximyurchuk May 27, 2024
bc3818b
Drop deprecated OWNER from ya.make files (#4742)
thevery May 27, 2024
f2808e8
fraction cpu usage in conveyors (#4870)
ivanmorozov333 May 27, 2024
8d0f151
disk usage limit for CS compaction (in general slider limit) (#4864)
ivanmorozov333 May 27, 2024
8004b1a
EnforceUserTokenCheckRequirement = false be default (#4879)
UgnineSirdis May 27, 2024
f6a6ae3
Fix getting mid range (#4885)
niksaveliev May 27, 2024
45c8bad
Use persistent pipe cache for readset exchanges (#4798)
snaury May 27, 2024
0964dfd
YQ-2302: read_max_bytes bypasses file_size_limit (#4117)
alchizhevsky May 27, 2024
2f7e2b4
Fix TEvDeliveryProblem in some edge cases (#4886)
snaury May 27, 2024
06552cf
Correct StateStorage guardian reconfiguration (#4883)
alexvru May 27, 2024
2f366dc
Restart PDisk actor on PDisk restart (#4820)
SammyVimes May 27, 2024
a6248d0
Allow to specify PG syntax in dqrun/yqlrun (#4893)
vitstn May 27, 2024
b9e6764
KqpRun added inprogress statistic (#4861)
GrigoriyPA May 27, 2024
e573b9d
Save more translation settings (#4890)
vitstn May 27, 2024
09d47d4
[ydb_configure] add enable topics by default (#4903)
shmel1k May 27, 2024
fec3196
Fix blocks optimization (#4899)
nikvas0 May 27, 2024
fa6109c
Revert "DbgPrintValue for Pg types (#4847)" (#4894)
azevaykin May 27, 2024
8c0096a
fix decimal comparision (#4901)
ivanmorozov333 May 27, 2024
ed3ba1f
improve validation info (#4875)
ivanmorozov333 May 27, 2024
33cd85a
[YQL-18456] Fix partition by grouping() (#4902)
nepal May 27, 2024
8d768df
Remove mkql include in public header (#4906)
fedor-miron May 28, 2024
7831e0f
YDBDOCS-692: add update-config.md (#4897)
blinkov May 28, 2024
b1d0aa2
http api refactoring (#4851)
adameat May 28, 2024
6149afe
Leaking 'PartitionWriterCacheActor` (#4892)
Alek5andr-Kotov May 28, 2024
38281eb
the race between TEvLockStatus and TEvProposeTransaction (#4758)
Alek5andr-Kotov May 28, 2024
f186070
YQ-3097 Checkpoint states > 2GB (#4002)
kardymonds May 28, 2024
c2d7d6f
YQ-3150: BAD_REQUEST for external data source (#4221)
alchizhevsky May 28, 2024
cf18f7a
a little more detail for a VERIFY (#4459)
adameat May 28, 2024
c6e5736
fix implicit cast offset to bool (#4846)
ildar-khisambeev May 28, 2024
64ce395
Build analytics (#4896)
maximyurchuk May 28, 2024
3cc510d
Introduce DescribeReplication (#4904)
CyberROFL May 28, 2024
66cb6b8
Return relaxed requirements (#4887)
gridnevvvit May 28, 2024
b3c26e4
cleanup tests output (#4910)
adameat May 28, 2024
a6425c2
[docs] Clarify zero limit in agg_list (#4930)
rvu1024 May 28, 2024
3fb41e2
KqpRun fixed config settings passing, added monitoring (#4921)
GrigoriyPA May 28, 2024
01a89e6
YQL-18052: Introduce CLI option to purebench to toggle block engine m…
igormunkin May 28, 2024
1f11b0a
Fix clang14 build (#4933)
CyberROFL May 28, 2024
c30ed26
(refactoring) Common description printer (#4929)
CyberROFL May 28, 2024
7389dc6
YQ-2068 YT emu lookup source actor (#4869)
zverevgeny May 28, 2024
8a9629b
[backups] add take incremental backup in cb alter (#4922)
Enjection May 28, 2024
d1f9302
Introduce blocking ring queue on spinlock (required to add sleepping)…
kruall May 28, 2024
8bca55f
YQ-3157 enable batch script results by size (#4860)
GrigoriyPA May 28, 2024
b8e7cb5
take seqNo from internal body for deprecated old cases from SS (#4926)
ivanmorozov333 May 28, 2024
0ca1ac0
fix optimizer signals (#4915)
ivanmorozov333 May 28, 2024
33c0b1e
Fix put_build_results_to_cache=false (#4932)
maximyurchuk May 28, 2024
157539d
New counter for activations (CurrentActivationTimeUsByActivity) (#4938)
kruall May 28, 2024
70c9754
Make remaining group amount calculator consider decommission (#4942)
alexvru May 28, 2024
4e3063e
YQL-18314 use shared alloc in all task runners (#4233)
zverevgeny May 28, 2024
d1de63e
Fix double portion deletion attempt (#4947)
zverevgeny May 28, 2024
311eb5a
Temporary mute tests (KVGrpcService) (#4950)
kruall May 29, 2024
bbf7ee3
YQL-18470 fix early buckets restoration (#4914)
lll-phill-lll May 29, 2024
e888137
simd: make unoptimized code uncompilable (#4681)
yumkam May 29, 2024
3acb5b5
Describe key choosing profits (#4835)
kunga May 29, 2024
67e831e
YQL-17816: fix exception in GetFolder (#4956)
fedor-miron May 29, 2024
b5a920d
[changelog] add tool for changelog generation (#4963)
shmel1k May 29, 2024
7182df1
Add different stat histogram test cases (#4881)
kunga May 29, 2024
a1ecba7
YDB FQ: Support MySQL as an external data source (#4951)
mkls6 May 29, 2024
8e891fc
Fix an old typo: PipePeNode -> PipePerNode (#4898)
snaury May 29, 2024
bc3a6f1
Cleanup persistent locks on table rename (#4962)
snaury May 29, 2024
e687e1a
[backups] add table creation in incremental backup (#4954)
Enjection May 29, 2024
5296b49
Terminate Roaring UDF in case of an unsuccessfull deserialization (#4…
jsjant May 29, 2024
007f8e8
quota service hanging has been fixed (#4960)
dorooleg May 29, 2024
05ca504
Fix of cycle in python udf (#4961)
koshakkkq May 29, 2024
c57e575
json_nodes rewrite CreateStep condition (#4792)
StekPerepolnen May 29, 2024
d36c6ff
Autoscaling logs (#4976)
niksaveliev May 29, 2024
8e7ec08
Refactor lazy table creation for WM service (#4900)
GrigoriyPA May 29, 2024
d96aaa3
Check B-Tree index format in loader (#4969)
kunga May 29, 2024
8ab9f12
YDBDOCS-696: fix YQL docs build (#4935)
blinkov May 29, 2024
a9bc8ef
Add source_changefeed_name to DescribeReplicationResult (#4974)
CyberROFL May 29, 2024
8ec6905
Create replicated tables with the same owner as the replication itsel…
CyberROFL May 29, 2024
bd36f9e
cleanup api and add local pdisk restart handler (#4982)
adameat May 29, 2024
0bce610
fix dependences (#4990)
nshestakov May 29, 2024
359f5cb
Move methods to cpp files in actor system code (#4940)
kruall May 29, 2024
a856194
Use StateStorage proxy stub to prevent incorrect replies while initia…
alexvru May 29, 2024
e423daa
Implement join right way (#4924)
MrLolthe1st May 29, 2024
7c85bb1
YDB FQ: Support Greenplum as an external data source (#4907)
skywalker-jpg May 29, 2024
3d8e652
YDB FQ: Fix JOIN of a stream with select from a generic provider (#4944)
vitalyisaev2 May 29, 2024
f35d839
[Pretty table] broken color fix (#4953)
pashandor789 May 30, 2024
0af7b18
extend table container (#4998)
adameat May 30, 2024
51dda4b
YQ-2824: add basis for type inference in KQP metadata loader (#4273)
EgorkaZ May 30, 2024
2309d52
switch health check to storage sys views (#4848)
vporyadke May 30, 2024
fb0ed90
YQ-3292 fixed kqprun ResourceBrokerConfig passing (#4994)
GrigoriyPA May 30, 2024
68e8444
YQL-18069: Fix incomplete DqProcessWrite execution (#4324)
mxkovalev May 30, 2024
0f9bf9f
proper extract (#4988)
ildar-khisambeev May 30, 2024
ffb5cd8
Fix of the error of incorrect metering exceeding the reserved topic s…
nshestakov May 30, 2024
0e2c1d0
Inconsistent write + resharding handling + buffer (#4919)
nikvas0 May 30, 2024
ff1ba95
tune timeouts to improve test stability (possible) (#4991)
adameat May 30, 2024
c47dc14
implicit transaction in per statement mode (#3882)
VPolka May 30, 2024
08261c7
HDD and SSD used bytes counters (#4727)
jepett0 May 30, 2024
3edc507
Support varying types in LHS and RHS of IN operator (#3828)
marsaly79 May 30, 2024
153185e
Print KeyColumns (#4980)
resetius May 30, 2024
9120db7
[release_notes] add missing requirements.txt (#5011)
shmel1k May 30, 2024
716571f
fix viewer api, restore monitoring ui (#4997)
adameat May 30, 2024
322ea4b
add feature to enable graphshard on databases (#5000)
adameat May 30, 2024
f2fac86
dataquery doesn't change values (#5013)
StekPerepolnen May 30, 2024
5b7a720
fix viewer api, restore monitoring ui (#5015)
adameat May 30, 2024
f898f0b
build: refresh Embedded UI (v6.3.0) (#4825)
alexv-smirnov May 30, 2024
60e1b89
YQL-18490 remove HasRunningAsyncOperation from mkql_grace_join.cpp (#…
lll-phill-lll May 30, 2024
4b1a4a2
Get rid of deprecated 'Syncing' state (#5017)
CyberROFL May 30, 2024
5a7ea75
Add HDD and SSD limit_bytes counters (#4765)
jepett0 May 30, 2024
df9ee81
Support uniform Deadline handling for all DS proxy requests (#5019)
alexvru May 30, 2024
438ee8d
Preserve statistics for S3Settings node (#5012)
resetius May 30, 2024
2d98fad
Add downloader for tpcds-10 data (#5050)
resetius May 30, 2024
f002be0
YQL-16402: Implement key cache for Top and TopSort nodes (#4761)
igormunkin May 30, 2024
8bb48d2
Switch replication to 'Done' state (#5028)
CyberROFL May 30, 2024
1ef5236
YQL-17330 Generalize stateful wide flow nodes (#1203)
May 30, 2024
ae51086
YQL-18016 fix cleanup requested keys on finalize (#4999)
zverevgeny May 31, 2024
f6f6f36
Added ExecutionId for script execution logs (#5014)
GrigoriyPA May 31, 2024
76567af
Forbid autoscaling with size retention (#5054)
niksaveliev May 31, 2024
785a089
Yql 18490 get rid of HasRunningAsyncIoOperation in mkql_grace_join_im…
lll-phill-lll May 31, 2024
8c0f1bc
Fix YQL-18475 (#4937)
yumkam May 31, 2024
3c09397
arrow memory pool over pages (#4992)
vitstn May 31, 2024
2926a5a
new pdisk restart handler with optional retry (#5059)
adameat May 31, 2024
9a1058e
Allow Read table call returns not null type (#4779)
dcherednik May 31, 2024
4b60d4d
[dq] Fix the parallel precompute execution hangup in some cases (#5046)
rvu1024 May 31, 2024
bb97e8c
disc limiter selective usage for compaction only (#5062)
ivanmorozov333 May 31, 2024
a4e2878
As/add more actor system activity (#5052)
kruall May 31, 2024
ba0d868
fix swagger schema (#5056)
adameat May 31, 2024
61ea108
Fix flaky PDiskRestartManyLogWrites (#5022)
SammyVimes May 31, 2024
8603c7e
Fix tests (#5053)
MrLolthe1st May 31, 2024
a042928
additional debug info and logging (#5061)
ivanmorozov333 May 31, 2024
2ed70e7
Compile stats (#4945)
maximyurchuk May 31, 2024
299ee83
Fix build (#5070)
alexvru May 31, 2024
f4ba086
IGNIETFERRO-2059: Fix use-after-free error in the TDqExecuter (#4568)
ubyte May 31, 2024
0dab3a4
Async (another mailbox) decoders + RawReadActor&Lister moved to separ…
Hor911 May 31, 2024
db8942a
stub for win (#5076)
ivanmorozov333 May 31, 2024
b1f4f0e
sys view for optimizer debug and control (#5058)
ivanmorozov333 May 31, 2024
dd3fb68
fix windows build (#5072)
ivanmorozov333 May 31, 2024
df84217
normalizer for remove granule_id in stored portions (#5049)
ivanmorozov333 May 31, 2024
994ffaf
Test for case of incorrect metering exceeding the reserved topic size…
nshestakov May 31, 2024
136beb6
add checks of shards / paths quota limits (#5074)
adameat May 31, 2024
9c8fe00
fix windows build (#5080)
adameat May 31, 2024
ba8569f
fix msvc build (#5065)
fedor-miron May 31, 2024
459b977
Make BSC report about group failure model violations more detailed (#…
alexvru May 31, 2024
c808caf
fix active-count and inactive-count metrics (#5073)
nshestakov May 31, 2024
05130bd
Set results format in pgwire (#5078)
qrort May 31, 2024
8b269a1
add dynconfig.yaml file generation, add yaml config type quickfixes (…
artgromov May 31, 2024
6281a34
Fix OperationLog::ConcurrentWrites (#5089)
serbel324 May 31, 2024
085409f
Fix repeating EvVStatus request when query is being executed for too …
alexvru May 31, 2024
74b0cb9
Fix BSC behaviour after start before first node connection (#5097)
alexvru May 31, 2024
bd28e29
[pg] Fix epoch rewrite bug (#5083)
rvu1024 May 31, 2024
97fc7f0
Fixed build error in TForgetScriptExecutionOperationQueryActor (#5084)
GrigoriyPA May 31, 2024
cd555a3
fix test (#5094)
ivanmorozov333 Jun 1, 2024
1709b73
add techinternals ydb vs. tpcc presentation (#4934)
eivanov89 Jun 1, 2024
1b4620e
Add Bondars PB from True Tech 2024 (#4981)
Pseudolukian Jun 3, 2024
528d878
move ydb-tech-ci cloud deploy manifests into ydb/ci folder (#5077)
nikitka Jun 3, 2024
89c3654
YDB FQ: integration tests for YDB as an external data source (#5064)
vitalyisaev2 Jun 3, 2024
ae64c30
fix TSchemeShardAllocatePQRebootTest (#5110)
nshestakov Jun 3, 2024
c08ddba
Fix boundary split for autoscaling of topic (#5096)
nshestakov Jun 3, 2024
ca8e9f1
fix signals about blob size distribution (#5107)
ivanmorozov333 Jun 3, 2024
1d8a147
tiers info initialization fix (#5060)
ivanmorozov333 Jun 3, 2024
f960cd6
Allow untag for optional tagged types & null (#5086)
vitstn Jun 3, 2024
463821c
Fix VDisk chunks leaking in runtime (#5112)
alexvru Jun 3, 2024
9a61edb
Add logs for changing spilling states (#4968)
yumkam Jun 3, 2024
4ca8675
Fixed backward compatibility in fq-proxy result_writer_actor (#5111)
GrigoriyPA Jun 3, 2024
9e18b4b
don't start actualization tasks construction so often (#5108)
ivanmorozov333 Jun 3, 2024
f8dab68
Fix SysView tests (#5117)
alexvru Jun 3, 2024
04e0301
ydb_persqueue_core: Unmute RetryPolicy.RetryWithBatching (#5125)
qyryq Jun 3, 2024
6e1e9e4
More cases for data->pg conversions (#5118)
vitstn Jun 3, 2024
cb67160
Put build analytics results in GITHUB_STEP_SUMMARY (#5132)
maximyurchuk Jun 3, 2024
a1df63e
fix VERIFY(pqGroup->TotalPartitionCount >= pqGroup->TotalGroupCount) …
nshestakov Jun 3, 2024
0b60307
Fix quotes in action (#5134)
maximyurchuk Jun 3, 2024
03ecb11
New serialization formats in Knn UDF (#4445)
azevaykin Jun 3, 2024
e485080
[YQL-18511] Fix GROUPING + CASE (#5129)
nepal Jun 3, 2024
4af111a
Renaming (#5088)
Hor911 Jun 3, 2024
421838d
Filter modules only in ydb (#5133)
maximyurchuk Jun 3, 2024
f1c2da2
Stop replication workers (#5126)
CyberROFL Jun 3, 2024
c6c214c
[YQL-18511] Detect GROUPING() column count mismatch (#5143)
nepal Jun 3, 2024
b0b6d2e
tiering waiting index policy simplification to use instants directly …
ivanmorozov333 Jun 4, 2024
e00f237
[docs/experiment] edit "ru" articles about Ansible (#4909)
blinkov Jun 4, 2024
d073a06
switch on normalizer state (#5138)
ivanmorozov333 Jun 4, 2024
8fcc021
[docs] change ydb variable to "YDB" (#5104)
blinkov Jun 4, 2024
b7228c2
CFLAGS (#5092)
Hor911 Jun 4, 2024
b9188a2
nth_value window function (+pg syntax) (#5144)
vitstn Jun 4, 2024
0a6da7c
YDB FQ: support Microsoft SQL Server as the external data source (#5131)
Glebbs Jun 4, 2024
12ca700
update vslot sysview on pdisk disconnect (#5148)
vporyadke Jun 4, 2024
1a690bd
Fix autoscaling of topic: partitions boundaries was empty after resta…
nshestakov Jun 4, 2024
47fb45a
allow alter config in replication (#4850)
VPolka Jun 4, 2024
83145b0
fix(http_proxy): actually perform DNS resolution when entry is stale …
Jorres Jun 4, 2024
5de3054
Change build_docs trigger to pull_request_target (#5164)
alexv-smirnov Jun 4, 2024
208706d
Improve cost metrics configuration (#5045)
serbel324 Jun 4, 2024
9975976
Update webtreemap from arcadia (#5145)
maximyurchuk Jun 4, 2024
8950256
Fix optional<bool> flag for c++ sdk. (#5160)
dcherednik Jun 4, 2024
dbeed94
Operator precedence (#5159)
Alek5andr-Kotov Jun 4, 2024
a60cff4
More compile stats (#5130)
maximyurchuk Jun 4, 2024
106fc30
Remove restriction for only one join type when triggering CBO (#5137)
alephonea Jun 4, 2024
6f0af7f
tolerate small time deviation in ut (#5136)
zverevgeny Jun 4, 2024
875d63c
Fix SysView updates from BSC (#5156)
alexvru Jun 4, 2024
f1fd705
docs: use pull_request.head.sha for build (#5176)
nikitka Jun 4, 2024
bb51dd4
YQL-18356: Refactor WideTopSort to be able use LLVM compilation (#5109)
Darych Jun 4, 2024
05ec5d8
fix(kqp): allow tuple of structs as input for DqReplicate (#5009)
ulya-sidorina Jun 4, 2024
1c6478e
Less output in build analytics (#5179)
maximyurchuk Jun 4, 2024
f1e6cf0
Add notes to summary (#5182)
maximyurchuk Jun 4, 2024
a02b0c6
Mute flake KqpScheme.AlterAsyncReplication (#5184)
CyberROFL Jun 4, 2024
d2eaa51
fix
maximyurchuk Jun 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@
/ydb/library/yql/yt @Krock21 @Krisha11 @zlobober @gritukan

/ydb/services/fq/ @ydb-platform/fq

/ydb/core/kafka_proxy @ydb-platform/Topics
/ydb/core/persqueue @ydb-platform/Topics
/ydb/services/datastreams @ydb-platform/Topics
/ydb/services/deprecated/persqueue_v0 @ydb-platform/Topics
/ydb/services/persqueue_v1 @ydb-platform/Topics
54 changes: 54 additions & 0 deletions .github/actions/build_analytics/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: build_analytics
description: Gather and send build analytics
inputs:
build_preset:
type: string
default: ""
build_target:
type: string
default: ""
secs:
type: string
default: ""
vars:
type: string
default: ""
runs:
using: "composite"
steps:
- name: Prepare s3cmd
uses: ./.github/actions/s3cmd
with:
s3_bucket: ${{ fromJSON( inputs.vars ).AWS_BUCKET }}
s3_endpoint: ${{ fromJSON( inputs.vars ).AWS_ENDPOINT }}
s3_key_id: ${{ fromJSON( inputs.secs ).AWS_KEY_ID }}
s3_key_secret: ${{ fromJSON( inputs.secs ).AWS_KEY_VALUE }}
folder_prefix: ya-
build_preset: ${{ inputs.build_preset }}

- name: Run analytics tools
shell: bash
run: |
set -ex
# FIXME: target name may be not the same as dir name
export TARGET_NAME=`basename ${{ inputs.build_target }}`
export TARGET_DIR=${{ inputs.build_target }}
export build_preset="${{ inputs.build_preset }}"
export build_target="${{ inputs.build_target }}"
./ya tool bloat --linker-map $TARGET_DIR/$TARGET_NAME.map.lld --input $TARGET_DIR/$TARGET_NAME --save-html ya_bloat_html
./ydb/ci/build_bloat/main.py --build-dir . --html-dir-cpp html_cpp_impact --html-dir-headers html_headers_impact
./ydb/ci/build_bloat/ydb_upload.py --html-dir-cpp html_cpp_impact --html-dir-headers html_headers_impact

- name: Upload results
shell: bash
run: |
set -ex
s3cmd sync -r --acl-public --stats --no-progress --no-mime-magic --guess-mime-type --no-check-md5 "ya_bloat_html/" "$S3_BUCKET_PATH/ya_bloat_html/"
echo "[ya bloat tool]($S3_URL_PREFIX/ya_bloat_html/index.html) (better use Safari, because it is too large for Chrome)" >> $GITHUB_STEP_SUMMARY

s3cmd sync -r --acl-public --stats --no-progress --no-mime-magic --guess-mime-type --no-check-md5 "html_cpp_impact/" "$S3_BUCKET_PATH/html_cpp_impact/"
echo "[cpp compilation time]($S3_URL_PREFIX/html_cpp_impact/index.html)" >> $GITHUB_STEP_SUMMARY

s3cmd sync -r --acl-public --stats --no-progress --no-mime-magic --guess-mime-type --no-check-md5 "html_headers_impact/" "$S3_BUCKET_PATH/html_headers_impact/"
echo "[headers impact]($S3_URL_PREFIX/html_headers_impact/index.html)" >> $GITHUB_STEP_SUMMARY

52 changes: 33 additions & 19 deletions .github/actions/build_and_test_ya/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ inputs:
put_build_results_to_cache:
type: boolean
default: true
additional_ya_make_args:
type: string
default: ""
secs:
type: string
default: ""
Expand All @@ -66,7 +69,17 @@ runs:
check_url=$(curl -s $jobs_url | jq --arg n "$BUILD_PRESET" -r '.jobs[] | select(.name | contains($n)) | .html_url')

echo "Pre-commit [check]($check_url) for $(git rev-parse HEAD) has started." | .github/scripts/tests/comment-pr.py --rewrite


curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{github.token}}" -H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
-d '{"state":"pending","description":"The check has been started","context":"build_${{inputs.build_preset}}"}'

if [[ "${{inputs.run_tests}}" == "true" ]];then
curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{github.token}}" -H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
-d '{"state":"pending","description":"The check has been started","context":"test_${{inputs.build_preset}}"}'
fi

- name: Prepare s3cmd
uses: ./.github/actions/s3cmd
with:
Expand All @@ -77,6 +90,20 @@ runs:
folder_prefix: ya-
build_preset: ${{ inputs.build_preset }}

- name: Generate ya.make with affected test suites and modules list
if: inputs.increment == 'true'
uses: ./.github/actions/graph_compare

- name: Change target in case of incremental (tests)
id: test_run_choice
shell: bash
run: |
if [ "${{ inputs.increment }}" == "true" ]; then
echo "target=." >> $GITHUB_OUTPUT
else
echo "target=${{ inputs.build_target }}" >> $GITHUB_OUTPUT
fi

- name: Build
uses: ./.github/actions/build_ya
id: build
Expand All @@ -85,25 +112,11 @@ runs:
build_target: ${{ inputs.build_target }}
build_preset: ${{ inputs.build_preset }}
bazel_remote_uri: ${{ fromJSON( inputs.vars ).REMOTE_CACHE_URL || '' }}
bazel_remote_username: ${{ inputs.put_build_results_to_cache && fromJSON( inputs.secs ).REMOTE_CACHE_USERNAME || '' }}
bazel_remote_password: ${{ inputs.put_build_results_to_cache && fromJSON( inputs.secs ).REMOTE_CACHE_PASSWORD || '' }}
bazel_remote_username: ${{ fromJSON( inputs.secs ).REMOTE_CACHE_USERNAME || '' }}
bazel_remote_password: ${{ fromJSON( inputs.secs ).REMOTE_CACHE_PASSWORD || '' }}
put_build_results_to_cache: ${{ inputs.put_build_results_to_cache }}
link_threads: ${{ inputs.link_threads }}

- name: Generate ya.make with affected test suites list
if: inputs.run_tests == 'true' && inputs.increment == 'true'
uses: ./.github/actions/graph_compare

- name: Check if there's a list of tests to run
id: test_run_choice
shell: bash
run: |
if [ -f ya.make ];then
echo "target='.'" >> $GITHUB_OUTPUT
echo "Listed test targets: "
cat ya.make
else
echo "target=${{ inputs.build_target }}" >> $GITHUB_OUTPUT
fi
additional_ya_make_args: ${{ inputs.additional_ya_make_args }}

- name: Run tests
uses: ./.github/actions/test_ya
Expand All @@ -117,6 +130,7 @@ runs:
testman_url: ${{ fromJSON( inputs.vars ).TESTMO_URL }}
testman_project_id: ${{ fromJSON( inputs.vars ).TESTMO_PROJECT_ID }}
link_threads: ${{ inputs.link_threads }}
additional_ya_make_args: ${{ inputs.additional_ya_make_args }}
test_threads: ${{ inputs.test_threads }}

- name: Notify about failed build
Expand Down
18 changes: 17 additions & 1 deletion .github/actions/build_ya/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ inputs:
required: true
default: "relwithdebinfo"
description: "debug, relwithdebinfo, release-asan, release-tsan, release, release-cmake14"
put_build_results_to_cache:
required: false
default: "true"
bazel_remote_uri:
required: false
description: "bazel-remote endpoint"
Expand All @@ -21,6 +24,9 @@ inputs:
required: false
default: "8"
description: "link threads count"
additional_ya_make_args:
type: string
default: ""
outputs:
success:
value: ${{ steps.build.outputs.status }}
Expand Down Expand Up @@ -65,7 +71,7 @@ runs:
extra_params+=(--bazel-remote-base-uri "${{ inputs.bazel_remote_uri }}")
fi

if [ ! -z "${{ inputs.bazel_remote_username }}" ]; then
if [ "${{ inputs.put_build_results_to_cache }}" = "true" ]; then
extra_params+=(--bazel-remote-username "${{ inputs.bazel_remote_username }}")
extra_params+=(--bazel-remote-password "${{ inputs.bazel_remote_password }}")
extra_params+=(--bazel-remote-put --dist-cache-evict-bins --add-result .o --add-result .a)
Expand Down Expand Up @@ -107,6 +113,10 @@ runs:
;;
esac

if [ ! -z "${{ inputs.additional_ya_make_args }}" ]; then
extra_params+=(${{ inputs.additional_ya_make_args }})
fi

echo "::debug::get version"
./ya --version

Expand Down Expand Up @@ -140,8 +150,14 @@ runs:
run: |
set -x
if [ "${{ steps.build.outputs.status }}" == "failed" ]; then
curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{github.token}}" -H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
-d '{"state":"failure","description":"The check has been failed","context":"build_${{inputs.build_preset}}"}'
echo "Build failed. see the [build logs]($LOG_URL)." | .github/scripts/tests/comment-pr.py --fail
else
curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{github.token}}" -H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
-d '{"state":"success","description":"The check has been completed successfully","context":"build_${{inputs.build_preset}}"}'
echo "Build successful." | .github/scripts/tests/comment-pr.py --ok
fi

Expand Down
27 changes: 24 additions & 3 deletions .github/actions/test_ya/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ inputs:
required: false
default: "12"
description: "link threads count"
additional_ya_make_args:
type: string
default: ""
testman_token:
required: false
description: "test manager auth token"
Expand Down Expand Up @@ -122,7 +125,7 @@ runs:
EXTRA_TAG=""
;;
esac

testmo automation:resources:add-link --name build --url "$RUN_URL" --resources testmo.json
testmo automation:resources:add-field --name git-sha --type string --value "${GITHUB_SHA:0:7}" --resources testmo.json
RUN_ID=$(
Expand Down Expand Up @@ -191,13 +194,20 @@ runs:
;;
esac

if [ ! -z "${{ inputs.additional_ya_make_args }}" ]; then
params+=(${{ inputs.additional_ya_make_args }})
fi

# Also build targets which are not in tests' dependencies
params+=(--no-strip-idle-build-results)

echo "::debug::get version"
./ya --version

echo "Tests are running..." | .github/scripts/tests/comment-pr.py

./ya test ${{ inputs.build_target }} "${params[@]}" \
--stat --log-file "$LOG_DIR/ya_log.txt" --evlog-file "$LOG_DIR/ya_evlog.jsonl" -DCONSISTENT_DEBUG \
--stat --log-file "$LOG_DIR/ya_log2.txt" --evlog-file "$LOG_DIR/ya_evlog2.jsonl" -DCONSISTENT_DEBUG \
--no-dir-outputs \
--junit "$JUNIT_REPORT_XML" --output "$OUT_DIR" || (
RC=$?
Expand Down Expand Up @@ -279,14 +289,25 @@ runs:
mkdir $ARTIFACTS_DIR/summary/

cat $SUMMARY_LINKS | python3 -c 'import sys; print(" | ".join([v for _, v in sorted([l.strip().split(" ", 1) for l in sys.stdin], key=lambda a: (int(a[0]), a))]))' >> $GITHUB_STEP_SUMMARY

.github/scripts/tests/generate-summary.py \
--summary-out-path $ARTIFACTS_DIR/summary/ \
--summary-url-prefix $S3_URL_PREFIX/summary/ \
--test-history-url $TEST_HISTORY_URL \
--build-preset "$BUILD_PRESET" \
--status-report-file statusrep.txt \
"Tests" ya-test.html "$JUNIT_REPORT_XML"

teststatus=$(cat statusrep.txt)
if [[ $teststatus == "success" ]];then
testmessage="The check has been completed successfully"
else
testmessage="The check has been failed"
fi
curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{github.token}}" -H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
-d '{"state":"'$teststatus'","description":"'"$testmessage"'","context":"test_${{inputs.build_preset}}"}'

- name: sync test results to s3
if: always()
shell: bash
Expand Down
9 changes: 5 additions & 4 deletions .github/config/muted_ya.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ ydb/core/kqp/ut/scheme KqpOlap.OlapRead_GenericQuerys
ydb/core/kqp/ut/scheme KqpOlap.OlapRead_StreamGenericQuery
ydb/core/kqp/ut/scheme KqpOlap.OlapRead_UsesGenericQueryOnJoinWithDataShardTable
ydb/core/kqp/ut/scheme KqpQueryService.TableSink_ReplaceFromSelectLargeOlap
ydb/core/kqp/ut/scheme KqpScheme.AlterAsyncReplication
ydb/core/kqp/ut/scheme KqpScheme.QueryWithAlter
ydb/core/kqp/ut/scheme [15/50]*
ydb/core/kqp/ut/scheme [44/50]*
ydb/core/kqp/ut/service KqpQueryService.ExecuteQueryPgTableSelect
ydb/core/kqp/ut/service KqpQueryService.QueryOnClosedSession
Expand All @@ -42,21 +44,18 @@ ydb/library/actors/http/ut HttpProxy.TooLongHeader
ydb/library/actors/http/ut sole*
ydb/library/yql/providers/generic/connector/tests/datasource/ydb* *
ydb/public/lib/ydb_cli/topic/ut TTopicReaderTests.TestRun_ReadOneMessage
ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut RetryPolicy.RetryWithBatching
ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut RetryPolicy.TWriteSession_TestBrokenPolicy
ydb/public/sdk/cpp/client/ydb_topic/ut BasicUsage.ConflictingWrites
ydb/public/sdk/cpp/client/ydb_topic/ut BasicUsage.WriteRead
ydb/public/sdk/cpp/client/ydb_topic/ut TSettingsValidation.TestDifferentDedupParams
ydb/public/sdk/cpp/client/ydb_topic/ut [0/10]*
ydb/public/sdk/cpp/client/ydb_topic/ut [6/10]*
ydb/public/sdk/cpp/client/ydb_topic/ut TxUsage::WriteToTopic_Demo_*
ydb/services/datastreams/ut DataStreams.TestGetRecordsStreamWithSingleShard
ydb/services/datastreams/ut DataStreams.TestPutRecordsWithRead
ydb/services/datastreams/ut DataStreams.TestReservedConsumersMetering
ydb/services/datastreams/ut DataStreams.TestReservedStorageMetering
ydb/services/fq/ut_integration Yq_1.*
ydb/services/keyvalue/ut KeyValueGRPCService.SimpleWriteRead
ydb/services/keyvalue/ut KeyValueGRPCService.SimpleCopyUnexistedKey
ydb/services/keyvalue/ut KeyValueGRPCService.*
ydb/services/keyvalue/ut sole*
ydb/services/persqueue_v1/ut TPersQueueTest.CheckACLForGrpcWrite
ydb/services/persqueue_v1/ut TPersQueueTest.SetupLockSession
Expand All @@ -83,6 +82,8 @@ ydb/tests/functional/kqp/kqp_indexes ConsistentIndexRead.InteractiveTx
ydb/tests/functional/kqp/kqp_query_session KqpQuerySession.NoLocalAttach
ydb/tests/functional/restarts test_restarts.py.*
ydb/tests/functional/serverless test_serverless.py.test_database_with_disk_quotas[enable_alter_database_create_hive_first--*]
ydb/tests/functional/sqs/multinode/test_multinode_cluster.py.TestSqsMultinodeCluster.test_has_messages_counters[kick_tablets-*]
ydb/tests/functional/sqs/multinode/test_multinode_cluster.py.TestSqsMultinodeCluster.test_has_messages_counters[stop_node*]
ydb/tests/functional/tenants test_dynamic_tenants.py.*
ydb/tests/functional/tenants test_storage_config.py.TestStorageConfig.*
ydb/tests/functional/tenants test_tenants.py.*
Expand Down
36 changes: 27 additions & 9 deletions .github/scripts/graph_compare.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@

# Compares build graphs for two given refs in the current directory git repo
# Creates ya.make in the current directory listing affected ydb test suites
# Creates ya.make in the current directory listing affected ydb targets
# Parameters: base_commit_sha head_commit_sha

set -e
set -ex

workdir=$(mktemp -d)
echo Workdir: $workdir
echo Checkout base commit...
git checkout $1
echo Build graph for base commit...
./ya make -Gj0 -ttt ydb --build release -k --cache-tests | jq '.graph[] | select( ."node-type"=="test")' > $workdir/graph_base
./ya make -Gj0 -ttt ydb --build release -k --cache-tests --no-strip-idle-build-results | jq '.graph[]' > $workdir/graph_base

echo Checkout head commit...
git checkout $2
echo Build graph for head commit...
./ya make -Gj0 -ttt ydb --build release -k --cache-tests | jq '.graph[] | select( ."node-type"=="test")' > $workdir/graph_head
./ya make -Gj0 -ttt ydb --build release -k --cache-tests --no-strip-idle-build-results | jq '.graph[]' > $workdir/graph_head

echo Generate lists of uids for base and head...
cat $workdir/graph_base | jq '.uid' > $workdir/uid_base
Expand All @@ -24,17 +24,35 @@ cat $workdir/graph_head | jq '.uid' > $workdir/uid_head
echo Create a list of changed uids in the head graph...
(cat $workdir/uid_head;(cat $workdir/uid_base;cat $workdir/uid_head) | sort | uniq -u) | sort | uniq -d > $workdir/uids_new

echo Create ya.make
echo "" > ya.make

echo Generate list of test shard names from the head graph based on the list of uids...
cat $workdir/graph_head | jq -r --slurpfile uids $workdir/uids_new 'select( any( .uid; .==$uids[] )) | .kv.path' | sort | uniq > $workdir/testsuites
cat $workdir/graph_head | jq -r --slurpfile uids $workdir/uids_new 'select( ."node-type"=="test") | select( any( .uid; .==$uids[] )) | .kv.path' | sort | uniq > $workdir/testsuites

echo Number of test suites:
cat $workdir/testsuites | wc -l

echo Removing test suite name from the list to get target names...
sed -E 's/\/[^/]*$//g;/^null$/d' $workdir/testsuites > $workdir/ts2

echo Generating temp ya.make with recurses to all required tests...
cat $workdir/ts2 | (echo 'RECURSE_FOR_TESTS(';cat;echo ')') > ya.make
echo Append into ya.make RECURSE_FOR_TESTS to all required tests...
cat $workdir/ts2 | (echo 'RECURSE_FOR_TESTS(';cat;echo ')') >> ya.make

echo Generate list of module names from the head graph based on the list of uids...
cat $workdir/graph_head | jq -r --slurpfile uids $workdir/uids_new 'select( ."target_properties"."module_type" != null) | select( any( .uid; .==$uids[] )) | .target_properties.module_dir' | sort | uniq > $workdir/modules

echo Number of modules:
cat $workdir/modules | wc -l

echo Filter only modules in ydb
cat $workdir/modules | { grep "^ydb" || true; } > $workdir/modules2

echo Number of modules:
cat $workdir/modules2 | wc -l

echo Append into ya.make RECURSE to all required modules...
cat $workdir/modules2 | (echo 'RECURSE(';cat;echo ')') >> ya.make

# echo Running ya test...
# ./ya make -A -R --build relwithdebinfo .
echo "ya.make content:"
cat ya.make
Loading
Loading