Remove a WARNING about coordinator provided snapshot not available.
authorPavan Deolasee <[email protected]>
Sun, 31 Jan 2016 07:49:53 +0000 (13:19 +0530)
committerPavan Deolasee <[email protected]>
Mon, 1 Feb 2016 09:14:43 +0000 (10:14 +0100)
There are a few expected cases, such as catalog scans, where coordinator
supplied snapshot may not be available. So remove this mis-leading warning.

src/backend/storage/ipc/procarray.c

index 44fd584132fab647d093b0447caa927193bc4063..55456cd3beca27fd2f960c0b99f80aca3f750eb6 100644 (file)
@@ -3177,11 +3177,7 @@ GetPGXCSnapshotData(Snapshot snapshot, bool latest)
                if (globalSnapshot.snapshot_source == SNAPSHOT_COORDINATOR)
                        GetSnapshotFromGlobalSnapshot(snapshot);
                else
-               {
-                       elog(WARNING, "Expected to see a snapshot sent by the coordinator "
-                                       " - now taking a direct snapshot from GTM");
                        GetSnapshotDataFromGTM(snapshot);
-               }
                return true;
        }
        else if (IsPostmasterEnvironment)