hvlad
eae0a1d62f
Merge branch 'master' into read_consistency
2017-08-08 12:16:18 +03:00
hvlad
3e1d53c724
- Sweep do not have to read backversions of active record (same as gc thread).
...
- Fixed bug in delete_version_chain: chain of one element was not deleted leaving orphan record versions.
- list_staying changes input record (rpb), if record was changed concurrently while backversion chain was walked.
It not allows VIO_intermediate_gc to detect change of primary record version and allow it to delete old backversions
while list_staying_fast walks the chain. To avoid it, forbid list_staying to re-read primary record version if
such change is detected. Also, list_staying_fast now checks just read backversion and exits in case of check
failure (instead of BUGCHECK's later in VIO_data).
2017-07-20 13:47:24 +03:00
hvlad
bdc7bd8d3e
Merge branch 'master' into read_consistency
2017-07-10 23:54:42 +03:00
hvlad
c34a914553
Move VIO_intermediate_gc() from prepare_update() to the points after update\delete (VIO_modify\VIO_erase).
...
It allows to use list_staying_fast() instead of slow list_staying().
Make user attachment to not call VIO_intermediate_gc() at VIO_chase_record_version() as it is almost
useless and could add significant perfomance penalty.
Make intermediate gc to honour ATT_no_cleanup flag and LCK_rel_gc lock (i.e. disable intermediate gc while
online validation running)
Make page precedence work correctly when new versions chain is created and attached to the primary
record version.
Update snapshots list used in gc\sweep threads.
Experimental\questionable:
- disable garbage_collect() call from list_staying_fast() as it probably could lead to
broken versions chains (no proof so far)
- limit number of "restarts" when list_staying walk record which is actively changed
2017-07-07 16:33:33 +03:00
hvlad
3e00fb832d
Add two performance counters
...
- RECORD_IMGC - number of successful calls of VIO_intermediate_gc, and
- RECORD_IMGC_FAIL - number of failed calls of VIO_intermediate_gc
Corresponding columns in MON$RECORD_STATS:
- MON$RECORD_IMGC
- MON$RECORD_IMGC_FAIL
RECORD_IMGC_FAIL sooner of all shouldn't be included into final code,
but it is useful when developing
2017-07-07 16:16:08 +03:00
hvlad
068e40ed12
Port important fix from master
2017-06-29 11:43:09 +03:00
hvlad
8983e95fe0
Maintain dbb_next_transaction as it is really used in INF and monitoring
2017-06-29 11:42:26 +03:00
hvlad
f04731b448
Support for read consistency mode:
...
- SET TRANSACTION READ COMMITTED READ CONSISTENCY, and
- isc_tpb_read_consistency option
2017-06-02 11:02:02 +03:00
hvlad
90702aca29
Fixed bug - files with StatusBlockData could left on disk after use.
2017-05-10 12:33:30 +03:00
hvlad
60a936691e
Assign attachment ID early to avoid creating snapshot with zero attachment ID.
2017-05-10 12:26:18 +03:00
hvlad
555b4419ff
Formatting
2017-05-10 12:25:19 +03:00
nikolay.samofatov
0d65336d4e
Use attachment ID from request/statement block on snapshot deallocation
2017-04-18 13:32:15 +03:00
hvlad
157127a512
Support for "read committed read consistency" mode in trace API
2017-04-12 18:43:37 +03:00
hvlad
f3637f4898
Support for "read committed read consistency" mode in monitoring tables
2017-04-12 18:42:06 +03:00
hvlad
f9ca873c65
Fixed error.
...
Correct comments: cursor stability -> read consistency
2017-04-12 18:25:02 +03:00
nikolay.samofatov
e31dec1a44
Fix comment
2017-04-03 16:08:10 +03:00
hvlad
e29d85ce0a
Fixed list_staying_fast
2017-04-03 12:31:33 +03:00
hvlad
2a2a991fe0
Merge branch 'master' into read_consistency
2017-04-03 12:01:56 +03:00
hvlad
e46ee70c72
Misc
2017-03-30 17:31:04 +03:00
hvlad
657a5c34ee
Move field with size of memory chunk with TransactionStatusBlock into shared GlobalTpcHeader to ensure all Classic processes uses the same value even if config was changed after shared memory initialized.
2017-03-30 17:29:38 +03:00
nikolay.samofatov
445c15b7dd
Adjust comments
2017-03-29 17:58:17 +03:00
nikolay.samofatov
84b79d2287
Fix to support large transaction numbers
2017-03-29 16:53:53 +03:00
hvlad
4b5950666b
Merge branch 'master' into read_consistency
2017-02-01 00:00:54 +02:00
hvlad
aff780ca94
Merge branch 'master' into read_consistency
2017-01-31 23:59:31 +02:00
hvlad
feeea1b51a
Fixed Windows build. Alex, please check
2017-01-31 22:48:55 +02:00
4da3997b49
Fixed CORE-5472: Problems with dbcrypt key transfer
2017-01-31 17:38:53 +03:00
Adriano dos Santos Fernandes
7fadd8e9f9
Make parse.y not build in every make call.
2017-01-30 23:15:52 -02:00
Adriano dos Santos Fernandes
f802976046
Revert regression that disallows "CHARACTER SET BINARY" usage.
2017-01-30 22:58:47 -02:00
Adriano dos Santos Fernandes
d23c7c1156
Misc.
2017-01-30 22:29:55 -02:00
firebirds
ae5d1b20ce
increment build number
2017-01-30 00:02:16 +00:00
hvlad
c8956bd1ae
Fixed regression: performance penalty when check access rights of user with super privileges granted (such as SYSDBA, DBO, etc)
2017-01-30 01:17:09 +02:00
firebirds
1deb7fb8b5
increment build number
2017-01-29 00:02:15 +00:00
Dmitry Yemanov
36b86a02e5
Preserve the alias after the relation/procedure node copying
2017-01-28 11:50:24 +03:00
firebirds
2226c6f7a4
increment build number
2017-01-28 00:02:15 +00:00
Dmitry Yemanov
2cb8c9cffe
Reworked bugfix for CORE-5456. Now it addresses CORE-5457 as well.
2017-01-27 11:32:30 +03:00
firebirds
8a2bc74159
increment build number
2017-01-24 00:02:16 +00:00
Dmitry Yemanov
7f41b58b98
Fixed the regression I introduced 22-Jul-2016.
2017-01-23 12:39:04 +03:00
firebirds
c124ddce68
increment build number
2017-01-21 00:02:18 +00:00
Adriano dos Santos Fernandes
bb871acda2
Misc.
2017-01-20 11:57:56 -02:00
Adriano dos Santos Fernandes
50c5292e98
Added Visual Studio Code settings.
2017-01-20 11:53:19 -02:00
Adriano dos Santos Fernandes
4af43c999a
Cleanup.
2017-01-20 11:47:30 -02:00
Adriano dos Santos Fernandes
7bb6ceb90d
Fixed CORE-3073 - Foreign key cascade with SET DEFAULT uses the default value of the moment of the FK creation.
2017-01-20 11:37:05 -02:00
Dmitry Yemanov
753958524b
Bugfix CORE-5456: Migrating Firebird 2.5.2 to 3.0.1 gbak restore crashes at the end always
2017-01-20 09:18:23 +03:00
firebirds
7321563cda
increment build number
2017-01-20 00:02:17 +00:00
hvlad
ef6d542c40
Fixed bug CORE-5464 : AV in fbclient when reading blob stored in incompatible encoding
2017-01-20 00:53:05 +02:00
hvlad
e954777399
Make validation detect and fix data page error when DP marked as secondary contains primary record version(s).
...
See CORE-5459.
So far i can't reproduce the corruption thus ticket is not resolved.
2017-01-20 00:49:27 +02:00
firebirds
316471b24c
increment build number
2017-01-18 00:02:17 +00:00
Ubuntu
9b228fbc0d
Fixed CORE-5454 - INSERT into updatable view without explicit field list failed.
2017-01-17 15:02:27 +00:00
bae769071e
Fix build and forgotten doc ( #75 )
2017-01-17 15:46:14 +03:00
firebirds
8165b30567
increment build number
2017-01-17 00:02:17 +00:00