boinc/sched
David Anderson 8cd8c8e7ee server software: handle 64-bit database IDs
The SETI@home result table is about to run out of 32-bit IDs,
so we need to move to 64-bit result IDs.
This will happen to the workunit table at some point too.

I changed the server C++ code to use the "long" type for all DB IDs
(and to use appropriate conversion codes like %lu).
"long" is 64 bit on 64-bit machines.
For uniformity I did this for all tables,
even ones (like app) that will never get big.

I chose NOT to change the DB schema for now.
The new code will work with 32-bit ID fields in the DB.
As projects approach the 32-bit limit on a table they can change
its ID field, and fields that reference this table, to BIGINT.
This is likely to happen only on the result and workunit tables.
I put functions in html/ops/db_update.php
to change the IDs of these tables.
2015-07-23 10:11:08 -07:00
..
Makefile.am make_project, upgrade: copy new server programs 2014-10-23 11:57:05 -07:00
adjust_user_priority.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
antique_file_deleter.cpp antique file deleter: skip no_delete WUs in finding oldest WU 2014-07-16 19:25:15 -07:00
assimilate_handler.h
assimilator.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
assimilator.py
census.cpp - scheduler: the p_fpops value reported by clients can't be trusted. 2012-01-09 17:35:48 +00:00
credit.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
credit.h server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
credit_test.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
db_dump.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
db_dump_spec.xml
db_purge.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
delete_file.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
edf_sim.cpp - web: add advisory text to "Export as Notice" balloon 2013-03-04 17:24:18 +01:00
edf_sim.h remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
feeder.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
file_deleter.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
file_upload_handler.cpp file upload handler: message tweak 2014-06-03 13:59:39 -07:00
get_file.cpp server: fix compile error on systems that don't define MAXPATHLEN 2013-08-22 17:01:45 -07:00
handle_request.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
handle_request.h scheduler: remove lock file when scheduler caught SIGTERM 2012-03-12 09:10:42 +00:00
hr.cpp client: timestamp all writes to stderr 2014-11-14 13:07:24 -08:00
hr.h - Updates Linux notifications to use current libnotify. 2011-09-27 19:45:27 +00:00
hr_info.cpp - eliminate use of alloca() and strdupa(). 2013-03-04 17:24:19 +01:00
hr_info.h client: timestamp all writes to stderr 2014-11-14 13:07:24 -08:00
make_work.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
makefile_plan_class_spec - scheduler: debug plan_class_spec a little. 2012-06-06 03:47:13 +00:00
makefile_validator_test server: fixes/improvements to validator_test 2014-10-14 10:25:28 -07:00
message_handler.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
plan_class_spec.cpp Allow machines that don't report android version to get work if 2015-05-12 09:30:43 -07:00
plan_class_spec.h scheduler: support Android version limits in XML plan class spec 2015-01-05 16:32:30 -08:00
plan_class_spec.xml.sample scheduler: sample code for the SSE3 plan class must check for "pni" rather than "sse3"; clients report "pni" 2013-08-08 11:00:29 -07:00
pshelper Remote server management: 2014-05-26 14:13:58 +02:00
put_file.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
pymw_assimilator.py
sample_assimilator.cpp - fix many problems with validator_test 2012-04-19 08:47:38 +00:00
sample_bitwise_validator.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sample_db_dump_spec.xml
sample_dummy_assimilator.cpp - fix many problems with validator_test 2012-04-19 08:47:38 +00:00
sample_hr_info.txt
sample_substr_validator.cpp sample_substr_validator: bug fix for --reject_if_present 2015-01-31 18:30:36 -08:00
sample_trivial_validator.cpp server: add sample validator that checks for string in stderr 2014-03-18 19:12:13 -07:00
sample_work_generator.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_array.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_array.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_assign.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_assign.h scheduler: assigned jobs should respect user app preferences 2013-10-06 21:23:28 -07:00
sched_check.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_check.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_config.cpp server: add <hr_class_static> option 2014-12-10 23:18:40 -08:00
sched_config.h server: add <hr_class_static> option 2014-12-10 23:18:40 -08:00
sched_customize.cpp sched_customize.cpp: add another example, and remove S@h-specific code 2014-10-31 15:02:13 -07:00
sched_customize.h - Double include protection added to sched_customize.h 2013-03-07 11:31:38 +01:00
sched_driver.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
sched_files.cpp server: fix compile warnings and file descriptor leaks 2014-01-08 22:00:13 -08:00
sched_files.h - scheduler: add feature for deleting no-longer-used sticky files. 2013-03-04 17:39:24 +01:00
sched_hr.cpp - scheduler: fix bug in the "homogeneous app version" (HAV) feature 2011-10-26 07:15:22 +00:00
sched_hr.h - scheduler: fix bug in the "homogeneous app version" (HAV) feature 2011-10-26 07:15:22 +00:00
sched_limit.cpp scheduler: enforce GPU job limits separately for each GPU type 2014-03-08 11:17:16 -08:00
sched_limit.h scheduler: fix bug that caused no jobs to be sent 2014-03-12 15:31:12 -07:00
sched_locality.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_locality.h
sched_main.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_main.h
sched_msgs.cpp
sched_msgs.h
sched_nci.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_nci.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_resend.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_resend.h
sched_result.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_result.h
sched_score.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_score.h scheduler: fix possible bug if use assigned jobs with FCGI scheduler 2015-04-27 10:10:32 -07:00
sched_send.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_send.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_shmem.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_shmem.h server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_timezone.cpp server: fix compile error on systems that don't define MAXPATHLEN 2013-08-22 17:01:45 -07:00
sched_timezone.h
sched_types.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_types.h server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_util.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_util.h server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_util_basic.cpp scheduler: add support for miner_asic coprocessor type 2014-09-21 21:08:09 -07:00
sched_util_basic.h server: shuffle code so that the file upload handler doesn't need MySQL 2014-06-17 18:07:45 -07:00
sched_version.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_version.h
script_assimilator.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
script_validator.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
show_shmem.cpp
single_job_assimilator.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
size_regulator.cpp size_regulator: make the DB access more efficient 2015-06-03 00:30:18 -07:00
start start script: skip 'run_in_ops' in forming log/out/lock/pid filenames 2014-12-03 14:23:03 -08:00
target_batch.cpp server: fix some compile warnings 2014-03-19 14:55:16 -07:00
testasm.py
time_stats_log.cpp
time_stats_log.h
transitioner.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
transitioner_catchup.php transitioner_catchup.php: fix it. 2015-07-10 10:24:40 -07:00
trickle_credit.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
trickle_deadline.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
trickle_echo.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
trickle_handler.cpp trickle handler daemon: mark message as handled even if handler returns error. 2014-03-29 09:25:01 -07:00
trickle_handler.h - validator: add a --credit_from_runtime option. 2011-09-13 21:01:42 +00:00
update_stats.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
validate_util.cpp server: add script_validator: a validator framework for Python, Perl, bash etc. 2014-10-21 22:14:57 -07:00
validate_util.h server: add script_validator: a validator framework for Python, Perl, bash etc. 2014-10-21 22:14:57 -07:00
validate_util2.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
validate_util2.h - server: create a harness for testing validator code. 2012-04-10 00:32:35 +00:00
validator.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
validator.h server: add sample validator that checks for string in stderr 2014-03-18 19:12:13 -07:00
validator_test.cpp server: fixes/improvements to validator_test 2014-10-14 10:25:28 -07:00
wu_check.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00