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

Distribute cron tasks #3326

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
fe0c327
Acquire a lease per cron task
tgregory-block Jun 18, 2024
2a41ba9
Add backwards compatibility and update README
din-cashapp Jun 19, 2024
4b0b4f9
resolve comments
din-cashapp Jun 24, 2024
7aa7afe
API dump
tgregory-block Jun 24, 2024
7b7a0a6
fixes
din-cashapp Jun 25, 2024
cdf5d07
Remove unnecessary class name sanitization
tgregory-block Jun 25, 2024
4c8d547
Lease held elsewhere WIP
tgregory-block Aug 20, 2024
7c32ffd
Implement TestFixture for log collectors
mmollaverdi Aug 5, 2024
8f5b240
Implement TestFixture for metrics
mmollaverdi Aug 5, 2024
7c600c8
Implement TestFixture for JdbcTestingModule
mmollaverdi Aug 6, 2024
93c6b21
Support more source formats and Guice explorer
damar-block Aug 6, 2024
3cdb3e4
Updates the hashing algorithm used in the `ClusterHashRing`
salamagd Aug 6, 2024
f95301e
Implement TestFixture for dynamodb
mmollaverdi Aug 7, 2024
f49a286
Expose service graph in admin console using d3 graph template
katukota Aug 7, 2024
30a98f9
Fix InProcessDynamoDbTests for Apple Silicon
tyiu Aug 7, 2024
3003e10
Update misk.feature.Attributes to have a `with` method that
ean5533 Aug 8, 2024
2bdbd1a
Defer the shutdown of JettyService until after Guava managed
kevink-sq Aug 8, 2024
c8bafb6
feat: Add new param to Redis modules for specific config
rainecp Aug 9, 2024
0b6ac89
The original implementation of `TaggedLogger` became heavy, stateful and
afkelsall Aug 11, 2024
6b15723
In this approach, we rebuild the url with path and parse it so that
lakpic Aug 12, 2024
988a576
Skip resetting DB if DataSourceService has not started
mmollaverdi Aug 13, 2024
2dd10bb
Update MiskTestExtension to stop Jetty in the shutdown hook
kevink-sq Aug 13, 2024
c10e0fe
Injector reuse - support test modules with constructor
mmollaverdi Aug 14, 2024
9cd88a9
We are not using DefaultBindingScopingVisitor's visitOther
damar-block Aug 14, 2024
75ef2b0
Fixes some misk test reuse injector bugs
mmollaverdi Aug 15, 2024
7adc972
Add Mutable AI badge to Misk readme
damar-block Aug 15, 2024
9ac94ab
[Misk Test Flakes] misk.jdbc.CockroachDbRealTransacterTest
katukota Aug 15, 2024
a722cfb
Only run buildMiskWeb on shadowJar
yissachar Aug 16, 2024
7744ee3
Misk test injector reuse - dynamodb reset fix and mockito test
mmollaverdi Aug 17, 2024
d705db1
Build misk-web on assemble, not just shadowJar
yissachar Aug 19, 2024
2d2ec8b
Revert only building misk-web on assemble
yissachar Aug 19, 2024
99f639a
Fix flaky test
katukota Aug 19, 2024
6d42628
Add flush_interval to the LaunchDarklyConfig, default to the
meghans-cash Aug 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Skip resetting DB if DataSourceService has not started
GitOrigin-RevId: efb52773373ea3687903bc3fb2825abc36c595bd
mmollaverdi authored and tgregory-block committed Aug 20, 2024
commit 988a5763243119b1362e62302715152f1f9d96e2
Original file line number Diff line number Diff line change
@@ -17,6 +17,10 @@ class JdbcTestFixture(
private val persistentTables = setOf("schema_version")

override fun reset() {
if (!dataSourceService.isRunning) {
logger.info { "Skipping truncate tables because data source is not running" }
return
}
val stopwatch = Stopwatch.createStarted()

val truncatedTableNames = shards(dataSourceService).get().flatMap { shard ->