Commit Graph

3314 Commits

Author SHA1 Message Date
sfc-gh-tclinkenbeard 1941d0eab3 More configuration database unit testing improvements 2021-05-16 17:25:41 -07:00
sfc-gh-tclinkenbeard 5c3b293fce Fix some SimpleConfigTransaction bugs 2021-05-15 12:41:16 -07:00
sfc-gh-tclinkenbeard bb61a20851 Improve const-correctness of ISingleThreadTransaction 2021-05-15 00:23:21 -07:00
sfc-gh-tclinkenbeard 01eab20fc0 Remove duplicate Knobs::reset code 2021-05-14 23:02:40 -07:00
sfc-gh-tclinkenbeard d7692b628f Support global configuration database updates 2021-05-14 19:34:21 -07:00
sfc-gh-tclinkenbeard b3565080dd Improve configuration database logging 2021-05-13 16:39:58 -07:00
sfc-gh-tclinkenbeard 511ce8d088 Use SimpleConfigConsumer in LocalConfiguration 2021-05-12 17:24:13 -07:00
sfc-gh-tclinkenbeard 7681f38f45 Add config_classes command line option for fdbserver 2021-05-11 18:23:33 -07:00
sfc-gh-tclinkenbeard 9d0843254f Store all types of knobs in LocalConfiguration 2021-05-11 13:33:39 -07:00
sfc-gh-tclinkenbeard fc0fbfb5dc Minor configuration database bug fixes 2021-05-11 12:00:44 -07:00
sfc-gh-tclinkenbeard 21e5456230 Add schema to configuration database (not yet tested) 2021-05-11 11:12:19 -07:00
sfc-gh-tclinkenbeard dce15d90d5 Add ThreadSafeDatabase::isConfigDB field 2021-05-10 18:15:56 -07:00
sfc-gh-tclinkenbeard f7f4595d90 Fix SEGFAULT in call to ReadYourWritesTransaction::preinitializeOnForeignThread 2021-05-10 15:33:44 -07:00
sfc-gh-tclinkenbeard 121c48359d Revert "Make ThreadSafeTransaction implementation less verbose"
This reverts commit c7d5bbd2e0.
2021-05-10 15:00:01 -07:00
sfc-gh-tclinkenbeard 28f923c087 Remove ISingleThreadTransaction::getMutableDeferredError 2021-05-10 14:09:08 -07:00
sfc-gh-tclinkenbeard 331dd2e377 Replace config_transaction option with use_config_database 2021-05-10 13:18:31 -07:00
sfc-gh-tclinkenbeard c7d5bbd2e0 Make ThreadSafeTransaction implementation less verbose 2021-04-30 12:05:58 -07:00
sfc-gh-tclinkenbeard ec58f0f0cf Improve const-correctness of ISingleThreadTransaction 2021-04-30 11:32:53 -07:00
sfc-gh-tclinkenbeard d20c3f7897 Mark methods as invalid in SimpleConfigTransaction.h 2021-04-30 09:55:38 -07:00
sfc-gh-tclinkenbeard 91f6f82cd8 Implement SimpleConfigTransaction::getCommittedVersion 2021-04-30 09:43:18 -07:00
sfc-gh-tclinkenbeard a3891a9246 Make SimpleConfigTransaction an implementation of ISingleThreadTransaction 2021-04-30 09:34:36 -07:00
sfc-gh-tclinkenbeard 0d9eaa5d6d Add ISingleThreadTransaction.h 2021-04-29 22:31:16 -07:00
sfc-gh-tclinkenbeard 4d3a7ceb44 Added simple DynamicKnobsWorkload 2021-04-29 16:32:30 -07:00
sfc-gh-tclinkenbeard 7211d838cf Remove broadcastConfigDatabase actor 2021-04-26 15:54:08 -07:00
sfc-gh-tclinkenbeard 65f5434f71 Expand LocalConfiguration (not yet tested) 2021-04-26 01:06:16 -07:00
sfc-gh-tclinkenbeard b63de5611d Update LocalConfiguration.actor.cpp 2021-04-24 17:22:58 -07:00
sfc-gh-tclinkenbeard 8fa6016287 Enable compaction on SimpleConfigDatabaseNode 2021-04-24 13:37:15 -07:00
sfc-gh-tclinkenbeard ee4f9d24b9 Modified ConfigurationDatabaseWorkload to run modified cycle workload 2021-04-23 14:05:14 -07:00
sfc-gh-tclinkenbeard d6fa06afdd Add IConfigTransaction::getRange (not yet tested) 2021-04-23 11:39:26 -07:00
sfc-gh-tclinkenbeard e471c3e61b Use multiple clients by default in ConfigurationDatabaseWorkload 2021-04-22 20:43:23 -07:00
sfc-gh-tclinkenbeard 2f7e752eee Store mutation log on SimpleConfigDatabaseNode 2021-04-16 20:20:41 -07:00
sfc-gh-tclinkenbeard f54f082159 Build interfaces for full config update pipeline 2021-04-16 17:58:00 -07:00
sfc-gh-tclinkenbeard ca3b7f5ef1 Implemented simple ConfigurationDatabase workload, run simple configuration database node on coordinators 2021-04-15 12:44:45 -07:00
sfc-gh-tclinkenbeard 18f17a4ea2 First draft of config-db 2021-04-14 22:06:37 -07:00
A.J. Beamon feede1d2f6 Fix line length of test macro + comments to be within the 120 character limit 2021-04-13 10:48:52 -07:00
RenxuanW c8b27e71c5 Revert TraceEvent
We've found the problem (issue #4640), so we no longer need the TraceEvent.
2021-04-12 15:03:47 -07:00
RenxuanW dc00d99626 Log FileBackupLogRangeStart before calling getLogRanges() in .
It will tell us if or why this function is legitimately trying to use too much ram. getLogRange() should normally return about 20 items in the result. If the inputs are trash, it could return far more.

If it isn’t the case, then there’s something else wrong that has corrupted something such that when we try to allocate memory.
2021-04-09 15:02:45 -07:00
RenxuanW 551dfa6ad8 Move description of RESTORE_IGNORE_LOG_FILES to header file. 2021-04-07 10:21:24 -07:00
RenxuanW fadc9cccee Use knob RESTORE_IGNORE_LOG_FILES in restore.
Rename IGNORE_LOG_FILES to RESTORE_IGNORE_LOG_FILES. Also, this knob should be used in regular restore, not parallel restore.
2021-04-07 10:05:56 -07:00
RenxuanW 1b6ad42db8 Use a knob to completely ignore log files 2021-04-06 19:07:01 -07:00
Vishesh Yadav 91afa3cc9c
Merge pull request #4515 from halfprice/zhewu/update-fault-tolerance-calculation
Populate min_replicas_remaining fields in the cluster status for all regions. This gives better picture of the data replicas currently exist in the database.
2021-03-31 13:06:17 -07:00
Steve Atherton 7d44af3fec
Merge pull request #4568 from jzhou77/master
Use the restored range in the actual restore
2021-03-30 09:58:31 -07:00
Jingyu Zhou 4c73e838ab Fix a comment on backup log data location 2021-03-30 09:26:48 -07:00
Zhe Wu 2648d19edd Update comment 2021-03-29 15:10:57 -07:00
Jingyu Zhou 2b4744ad8a Reword comments. 2021-03-29 13:43:43 -07:00
Jingyu Zhou 55ef40864f Add comments for touched functions 2021-03-29 10:09:07 -07:00
Jingyu Zhou 1a0ef39e5d Fix keyRangesFilter with logsOnly flag
Remove the Sev 40 trace event.
2021-03-27 21:48:27 -07:00
Zhe Wu c3aff4340f Address merge conflicts 2021-03-26 11:36:02 -07:00
Jingyu Zhou a9d8806828 Use the restored range in the actual restore 2021-03-25 10:07:25 -07:00
Jingyu Zhou 3fefebb23a
Merge pull request #4554 from sfc-gh-satherton/restore-log-filtering2
Mutation log filtering during restore
2021-03-24 22:54:09 -07:00