maria:bb-10.9-MDEV-27246-galera-allowlist

Last commit made on 2022-03-31
Get this branch:
git clone -b bb-10.9-MDEV-27246-galera-allowlist https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.9-MDEV-27246-galera-allowlist
Repository:
lp:maria

Recent commits

e48fc85... by mkaruza <email address hidden>

MDEV-27263 Cluster bootstrap node shows duplicate wsrep allowlist IP warning messages on each restart.

We should clear `wsrep_allowlist` table on bootstrap before writing to
it.

Reviewed-by: Jan Lindström <email address hidden>

c64f411... by mkaruza <email address hidden>

MDEV-27246 Implement a method to add IPs to allowlist for Galera Cluster node addresses that can make SST/IST requests

Reviewed-by: Jan Lindström <email address hidden>

3eb1e11... by Rucha Deodhar <email address hidden>

MDEV-23479: Add a THD* argument to Item_func_or_sum::fix_length_and_dec()

Fix: Added THD *thd argument in Item_func_or_sum::fix_length_and_dec() and in
fix_length_and_dec() for all derived classes of Item_func_or_sum.

12abe61... by Rucha Deodhar <email address hidden>

MDEV-27990: Incorrect behavior of JSON_OVERLAPS() on warning

Analysis: In case of error while processing json document, we goto
error label which eventually return 1 instead of 0.
Fix: Return 0 in case of error instead of 1.

a653dde... by Rucha Deodhar <email address hidden>

MDEV-27677: Implement JSON_OVERLAPS()

1) When at least one of the two json documents is of scalar type:
     1.a) If value and json document both are scalar, then return true
          if they have same type and value.
     1.b) If json document is scalar but other is array (or vice versa),
          then return true if array has at least one element of same type
          and value as scalar.
     1.c) If one is scalar and other is object, then return false because
          it can't be compared.

  2) When both arguments are of non-scalar type and below conditons
      are satisfied then return true:
      2.a) When both arguments are arrays:
           Iterate over the value and json document. If there exists at
           least one element in other array of same type and value as
           that of element in value.
      2.b) If both arguments are objects:
           Iterate over value and json document and if there exists at least
           one key-value pair common between two objects.
      2.c) If either of json document or value is array and other is object:
           Iterate over the array, if an element of type object is found,
           then compare it with the object (which is the other arguemnt).
           If the entire object matches i.e all they key value pairs match.

8680eed... by Marko Mäkelä

Merge 10.8 into 10.9

5c69e93... by Marko Mäkelä

Merge 10.7 into 10.8

a4d7537... by Marko Mäkelä

Merge 10.6 into 10.7

0a573e7... by Marko Mäkelä

Merge 10.5 into 10.6

7d7bdd4... by Marko Mäkelä

MDEV-28185 InnoDB generates redundant log checkpoints

The comparison on the checkpoint age (number of log bytes
written since the previous checkpoint) is inaccurate, because
the previous FILE_CHECKPOINT record could span two 512-byte
log blocks, which will cause the LSN to increase by the size of the
log block header and footer.

We will still generate a redudant checkpoint if the previous
checkpoint wrote some FILE_MODIFY records before the FILE_CHECKPOINT
record.