~codership/galera/2.x

« back to all changes in this revision

Viewing changes to gcs/src/gcs.h

  • Committer: Alexey Yurchenko
  • Date: 2014-01-29 14:43:26 UTC
  • mto: This revision was merged to the branch mainline in revision 167.
  • Revision ID: alexey.yurchenko@codership.com-20140129144326-aa70nhzofl0smkm8
Fixes:
* provider pause() is fixed to avoid potential deadlock with replicating threads.
* lp:1099478 - handle own address in the address list properly (do not throw exception)
* lp:1259952 - fixed allocation of multiple of pages when posix_fallocate() is unavailable
* lp:1261996 - fixed compilation on Solaris 11
* lp:1232747 - fixed group remerge after partitioning event

Synced with SVN r3450

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Copyright (C) 2008-2013 Codership Oy <info@codership.com>
3
3
 *
4
 
 * $Id: gcs.h 3196 2013-08-09 07:26:28Z vlad $
 
4
 * $Id: gcs.h 3446 2014-01-13 01:33:30Z teemu $
5
5
 */
6
6
 
7
7
/*!
301
301
 */
302
302
extern long gcs_join (gcs_conn_t *conn, gcs_seqno_t status);
303
303
 
 
304
/*! @brief Allocate local seqno for accessing local resources.
 
305
 *
 
306
 *
 
307
 * @param conn connection to group
 
308
 * @return local seqno, negative error code in case of error
 
309
 */
 
310
extern gcs_seqno_t gcs_local_sequence(gcs_conn_t* conn);
 
311
 
304
312
 
305
313
///////////////////////////////////////////////////////////////////////////////
306
314
 
309
317
/*! Informs group about the last applied action on this node */
310
318
extern long gcs_set_last_applied (gcs_conn_t* conn, gcs_seqno_t seqno);
311
319
 
312
 
 
313
320
/* GCS Configuration */
314
321
 
315
322
/*! sets the key to a given value